[Dev-flock] r288 - in huginmunin/trunk/web: . src/database/db
dan@thoughtandmemory.org
dan at thoughtandmemory.org
Mon Oct 8 08:33:52 EDT 2007
r306 at insignificant: dan | 2007-10-08 08:29:34 -0400
Added the 'cached_mixin_property' decorator to utils.py.
Used it in user.py to link user.profile to our UserExtended class. There should be a user.get_profile() method built-in to Django, but I can't make it work, I think because 'database.db.user.UserExtended' has too many periods. Really.
Gave Argument.make a responds_to keyword, which will automatically link the right foreign key.
Modified:
huginmunin/trunk/web/
huginmunin/trunk/web/src/database/db/graph.py
huginmunin/trunk/web/src/database/db/user.py
huginmunin/trunk/web/src/database/db/utils.py
More information about the Dev-flock
mailing list