Where does this code go? I want to create a user profile for every
user created.

On Dec 18 2008, 2:37 am, "James Bennett" <ubernost...@gmail.com>
wrote:
> On Wed, Dec 17, 2008 at 5:21 PM, Malcolm Tredinnick
>
> <malc...@pointy-stick.com> wrote:
> > This would be the "standard" solution. I thought James Bennett's
> > django-profiles app did this, but apparently I'm mistaken (it would be
> > slightly duplicated work if it did, in any case).
>
> django-profiles kicks you to a profile-creation view if you try to
> edit your profile and don't have one already.
>
> django-registration, on the other hand, supports passing a callback to
> create an initial profile for a newly-registered user (in other words,
> a function which just knows how to create an instance of your profile
> model with all blank/default values).
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to