Skip to content

Commit 39cbb2b

Browse files
committed
chore: Update examples
1 parent 1f3f9da commit 39cbb2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Embedded Fields
2222
phone = fields.StringField(verbose_name=_('phone number'))
2323

2424
class Application(Document):
25-
name = fields.StringField(max_length=255, blank=False)
25+
name = fields.StringField(max_length=255, required=True)
2626
contact = fields.EmbeddedDocumentField(ContactInfo)
2727
LOCALES = (('es', 'Spanish'), ('en', 'English'), ('de', 'German'), ('fr', 'French'), ('it', 'Italian'), ('ru', 'Russian'))
2828
locales = fields.ListField(fields.StringField(choices=LOCALES), help_text=_("""List of languages for your application (the first one will be the default language)"""))

0 commit comments

Comments
 (0)