[Dev-flock] r296 - in huginmunin/trunk/web: . src/database/db
dan@thoughtandmemory.org
dan at thoughtandmemory.org
Tue Oct 9 21:32:31 EDT 2007
r337 at insignificant: dan | 2007-10-08 10:31:09 -0400
Fixed Model.by_user to both be more general and also work correctly!
Access to UserExtended object can be achieved through User.profile, as in:
assertTrue(auth.User.get(2).profile.__class__ == user.UserExtended)
The profile (UserExtended) object is created the first time it is accessed.
User attributes (behaviors, arguments, etc, etc) should work better now also.
Modified:
huginmunin/trunk/web/
huginmunin/trunk/web/src/database/db/graph.py
huginmunin/trunk/web/src/database/db/log.py
huginmunin/trunk/web/src/database/db/rating.py
huginmunin/trunk/web/src/database/db/user.py
More information about the Dev-flock
mailing list