Python
Java
code posted
by
ashimono
created at 25 Jul 06:00, updated at 28 Jul 02:24
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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') |
470 Bytes in 3 ms with coderay