Monday, November 3, 2008

Lazy User Foreign Keys

by Michael Trier

Great post by our good friend Alex Gayner where he presents a very creative solution to implementing the common idiom of having a foreign key field to the User model. He wraps it up into a special field that makes it easy to access the user from the model instance.

Bookmark and Share