Title / Description
Code class UserPrefsEntity(db.Model): ''' Class definition of an entity to store User Preferences information in the DB ''' user = db.UserProperty(required=True) class EntryEntity(db.Model): ''' Class definition of an entity to store User information in the DB ''' time = db.DateProperty() comment = db.StringProperty(required=False) user = db.ReferenceProperty(userPrefsEntity.UserPrefsEntity, collection_name='access')
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code