131
You haven’t run manage.py makemigrations customuser
to create the migrations for your CustomUser app.
Also, you haven’t run any of the existing migrations – you should do manage.py migrate
.
18
Run the following commands
python manage.py makemigrations
python manage.py migrate
This solved my error.
Hope it helps you.
- [Django]-Gunicorn Connection in Use: ('0.0.0.0', 5000)
- [Django]-How to duplicate virtualenv
- [Django]-Django in / not in query
5
For me makemigrations was the one throwing the error which was super annoying. Finally I realized I had deleted all the migration files, but you have to delete the migrations folder as well! Otherwise you’ll get this error.
- [Django]-Include intermediary (through model) in responses in Django Rest Framework
- [Django]-Count frequency of values in pandas DataFrame column
- [Django]-Manage.py runserver
- [Django]-Change a Django form field to a hidden field
- [Django]-How to convert JSON data into a Python object?
- [Django]-Django access the length of a list within a template
Source:stackexchange.com