From 51b62fb044ef59f0024ad890ff29765381ae1e29 Mon Sep 17 00:00:00 2001 From: lord63 Date: Sun, 22 Nov 2015 14:43:25 +0800 Subject: [PATCH] Render the code block in mongokit.rst --- docs/patterns/mongokit.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/patterns/mongokit.rst b/docs/patterns/mongokit.rst index b8a6ecfb..9d1b3e2a 100644 --- a/docs/patterns/mongokit.rst +++ b/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. Here is an example document (put this also into :file:`app.py`, e.g.):: + from mongokit import ValidationError def max_length(length):