Render the code block in mongokit.rst

This commit is contained in:
lord63 2015-11-22 14:43:25 +08:00
parent 751fe451df
commit 51b62fb044

View file

@ -48,6 +48,7 @@ insert query to the next without any problem. MongoKit is just schemaless
too, but implements some validation to ensure data integrity. too, but implements some validation to ensure data integrity.
Here is an example document (put this also into :file:`app.py`, e.g.):: Here is an example document (put this also into :file:`app.py`, e.g.)::
from mongokit import ValidationError from mongokit import ValidationError
def max_length(length): def max_length(length):