Skip to content Skip to sidebar Skip to footer

Custom User Models In Django: `no Such Table: Auth_user`

According to the answer to my previous question, I edited the django-registration module with the following modifications: in myapp/models.py: from django.contrib.auth.models impor

Solution 1:

You can't swap user model for any app that refers to it, if migrations for that app have been applied. Try to re-create your database by creating new one, reapplying migrations on it and then moving data from old database


Post a Comment for "Custom User Models In Django: `no Such Table: Auth_user`"