Skip to content Skip to sidebar Skip to footer

Auth_user_model Does Not Accept Sub Application

I am having problems with my custom user model while using Django 1.7.1 and Python 3.4. I have declared a Custom user model in an apps.users.AuthUser. I then have another applicati

Solution 1:

In your installed apps you can have just your application name assuming its in the same directory, no need to specifically mention 'myapp.users' just 'myapp' will do.

The use this:

AUTH_USER_MODEL = 'myapp.MyAuthUserModel'

Don't use this:

AUTH_USER_MODEL = 'myapp.models.MyAuthUserModel'

Hope this helps!

Post a Comment for "Auth_user_model Does Not Accept Sub Application"