Hey all,
-- I'm trying to create a custom User model on an existing project (Django 1.5.5).
I followed this tutorial, I created the new model, ran a "schemamigration" once, which created the tables in the DB,
also ran the "Migrate" command once with the copying code in the "forward" method (like instructed in the tutorial in bullet no. 10.
The new custom model table was created and all the previous users were copied correctly.
Now, I'm trying to change the "AUTH_USER_MODEL" to newly created custom User model, but when I run the migrate command I'm getting
this error:
ImproperlyConfigured: AUTH_USER_MODEL refers to model 'myappname.CustomUser' that has not been installed
I'm new to South, and this is my first time trying to work with the custom User option..
Not really sure how to fix this..
Some more details:
Django=1.5.5
South=1.0
Using Postgresql
Thanks,
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1c65a221-124a-4c24-ad96-1b7e7e44e3e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment