Trying to follow the tutorial at Django project.
The problem I've come across is that when performing the command:
python manage.py sql polls
I'm given the error:
CommandError: App 'polls' has migrations. only the sqlmigrate and sqlflush commands can be used when an app has migrations
So far I can't seem to find any guide on the internet, or this website for a solution to the program.
You can either run python manage.py makemigration
followed by python manage.py migrate
or just delete migrations folder