Render the code block in mongokit.rst

This commit is contained in:
lord63 2015-11-22 14:43:25 +08:00
parent cb4eec7bcb
commit 251af9ba12

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.
Here is an example document (put this also into :file:`app.py`, e.g.)::
from mongokit import ValidationError
def max_length(length):