Wednesday, April 17, 2013

Re: Django-Registration/Custom Authentication Issue

Current hg tip is actually 1.5-compatible, in the sense that if you want to use your own User model, you just subclass the provided stuff and plug in your model, either importing directly or using the helper function in Django 1.5.

django-registration does not do this itself because

1. Using Django 1.5's helpers requires either extra complication of the imports, or a break with Django 1.4 compatibility, and
2. If you're using a custom User model, you will by definition be wanting to subclass and override the default fields, validation logic, etc., since only a User model identical to django.contrib.auth.models.User works with the defaults.

--
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


Real Estate