Imagine you have a column called
usercreated = db.ReferenceProperty(User)
And you want this field to automaticly filled when first putted to store. Like this did for auto_date. Is this possible?
Imagine you have a column called
usercreated = db.ReferenceProperty(User)
And you want this field to automaticly filled when first putted to store. Like this did for auto_date. Is this possible?
The User property type has an auto_current_user
flag, which is an easy solution if your using google accounts for authentication.
http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html#UserProperty