On Monday, 29 October 2012 14:50:15 UTC, Anil wrote:
I have the following filesystem structure:--projectproject/app1project/app1/models.py <--- class MyUser(AbstractBaseUser)project/projectproject/project/settings.pyproject/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/-/sCjFMLGasTUJ.
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.
No comments:
Post a Comment