I have the following filesystem structure:

project
project/app1
project/app1/models.py <--- class MyUser(AbstractBaseUser)
project/project
project/project/settings.py
project/project/urls.py
...

I set my AUTH_USER_MODEL to 'project.app1.models.MyUser', I get error:

auth.user: AUTH_USER_MODEL is not of the form 'app_label.app_name'.

I tried also doing something like '..app1.models.MyUser', but that didn't 
work either or simply 'project.MyUser'. None of these are working.
In the settings.py file, is my model in the path? How do I reference it?

Thanks



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/e2JbdD3Qup4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to