Browse Source

Merge pull request #1624 from lord63-forks/fix-code-format

Render the code block in mongokit.rst
pull/1627/head
David Lord 9 years ago
parent
commit
bd4020d9de
  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