Browse Source

Render the code block in mongokit.rst

pull/1624/head
lord63 9 years ago
parent
commit
51b62fb044
  1. 1
      docs/patterns/mongokit.rst

1
docs/patterns/mongokit.rst

@ -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):

Loading…
Cancel
Save