Open jiapei100 opened 2 years ago
so for me it works, when I do this :
python manage.py migrate
python manage.py makemigrations todolist
python manage.py migrate todolist
python -m webbrowser -t "http://127.0.0.1:7000/"
python manage.py runserver 7000
You just need to create your tables...
That error is usually caused by a missing database migration after creating a new model.
Simply running the following commands fixes it most of the time:
python3 manage.py makemigrations
python3 manage.py migrate
Now you can restart your server.