django.db.utils.OperationalError: no such table: api_user code example
Example 1: django.db.utils.OperationalError: no such table:
python manage.py makemigrations
python manage.py migrate
Example 2: django.db.utils.OperationalError: no such table:
find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
find . -path "*/migrations/*.pyc" -delete
Example 3: django.db.utils.OperationalError: no such table:
rm db.sqlite3