We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02598ce commit 2e137bdCopy full SHA for 2e137bd
_includes/themes/metromongo/frontpage.html
@@ -28,11 +28,11 @@ <h3>Simple to use</h3>
28
{% highlight python %}
29
from mongoengine import * # To define a schema for a
30
# document, we create a
31
-class Metadata(EmbeddedDocument): # class that inherits from
+class Metadata(EmbeddedDocument): # class that inherits from
32
tags = ListField(StringField()) # Document.
33
revisions = ListField(IntField())
34
# Fields are specified by
35
-class WikiPage(Document): # adding field objects as
+class WikiPage(Document): # adding field objects as
36
title = StringField(required=True) # class attributes to the
37
text = StringField() # document class.
38
metadata = EmbeddedDocumentField(Metadata)
0 commit comments