Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Render the code block in mongokit.rst

authored by David Lord · committed by David Lord · parents 751fe45, 51b62fb · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:docs/patterns/mongokit.rst+1 added
46 unmodified lines
47insert query to the next without any problem. MongoKit is just schemaless48too, but implements some validation to ensure data integrity.4950Here is an example document (put this also into :file:`app.py`, e.g.)::5152 from mongokit import ValidationError5354 def max_length(length):55 def validate(value):
89 unmodified lines