Entries published on November 24, 2007
User profiles
Django, as you hopefully already know, provides a way to store additional information related to a User
via the mechanism of setting up a site-specific user profile model, and supports this directly via the get_profile()
method on every User
object.
By way of supporting this, back in version 0.2 of django-registration I added the ability to specify a callback function which, upon creating a new User
, could also create a default site-specific profile for that User
; at the time it seemed like a good way to handle the common situation of wanting to set up a profile …