Thursday, 15 July 2010

django - DjangoAdmin - how to include customUser into auth App? -



django - DjangoAdmin - how to include customUser into auth App? -

i created custom user next django's documentation , working fine (django 1.6), when go admin site new user model registered under different app means auth has [groups, permission] , myapp has [myuser], next appname new myuser class created, no within "auth" standard user model. read thread suggested didn't work.

any idea? tried create proxy class , using app_label tag on one, didn't work ...if utilize "auth" in setting new class don't show in admin, if utilize other name, does, not need (to have together)

my project construction follows:

myproject myapp models.py (my new user lives here) admin.py myproject settings.py --> auth_user_model = 'myapp.customuser'

thanks in advance!

django admin

No comments:

Post a Comment