forked from orbit-oss/flask
Merge pull request #1624 from lord63-forks/fix-code-format
Render the code block in mongokit.rst
This commit is contained in:
commit
bd4020d9de
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue