Re: djano user registration form and login(full example)
Am 06.04.2013 um 16:30 schrieb Shawn Milochik:
I've seen some situations where it looked like signals are received multiple times.However, you can easily fix that by checking for the existence of the user in your function, or a try/except that handles the integrity error.
just my two cents …
Also, if you're starting a new project, consider upgrading to Django 1.5. It's similar to 1.4(which I assume you're using based on the documentation link you provided), but also has customizable user models.Although creating a profile model to be linked to the User model is still a good idea, some fields make sense to havein a custom User model:Shawn--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home