Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/f/l/flask-mongorest-HEAD/example/app.py   flask-mongorest(Download)
    tags = db.ListField(db.StringField(max_length=30))
    user_lists = db.ListField(db.SafeReferenceField(User))
    sections = db.ListField(db.EmbeddedDocumentField(Content))
    content = db.EmbeddedDocumentField(Content)
    is_published = db.BooleanField()

src/f/l/flask-admin-HEAD/examples/mongoengine/simple.py   flask-admin(Download)
class Post(db.Document):
    name = db.StringField(max_length=20, required=True)
    value = db.StringField(max_length=20)
    inner = db.ListField(db.EmbeddedDocumentField(Comment))
    lols = db.ListField(db.StringField(max_length=20))

src/f/l/flask-common-HEAD/tests/__init__.py   flask-common(Download)
        class Test(db.Document):
            embedded = db.EmbeddedDocumentField(EmbeddedDoc)
 
        Test.drop_collection()