Permalink
Browse files

formatting update

  • Loading branch information...
1 parent 8540a06 commit 463b2909cd467a6b49bda861e30352dbae9205d8 @last-partizan last-partizan committed Oct 1, 2015
Showing with 2 additions and 0 deletions.
  1. +2 −0 docs/examples.rst
View
@@ -6,6 +6,7 @@ Embedded Fields
===============
**models.py**::
+
class ContactInfo(fields.EmbeddedDocument):
web = fields.URLField(help_text=_("""List of languages for your application (the first one will be the default language)"""))
email = fields.EmailField(verbose_name=_('e-mail address'))
@@ -19,6 +20,7 @@ Embedded Fields
**forms.py**::
+
class ContactInfoForm(DocumentForm):
class Meta:
document = ContactInfo

0 comments on commit 463b290

Please sign in to comment.