Wednesday, October 24, 2012

Re: [ver. 1.5] Specifying custom User model (extends AbstractUser) doesn't work


On Wed, Oct 24, 2012 at 5:51 PM, Stephen Anto <charvigroups@gmail.com> wrote:
Hi,

You can extend Default Django User model without breaking its architecture. Just visit http://www.f2finterview.com/web/Django/21/ It will explain you in detail.

If you're going to give advice, it's probably a good idea to check that your advice is current.

The approach that the original poster has suggested is in no way "breaking the architecture" of Django - it's one of the new features in Django 1.5. 

As a side effect of the changes introduced in 1.5, the API you've suggested (AUTH_PROFILE_MODULE) has been deprecated. It will raise warnings if used in Django 1.5 and 1.6, and be removed completely in Django 1.7. 

Yours,
Russ Magee %-)

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate