-
Notifications
You must be signed in to change notification settings - Fork 4
Snippets
Stéphane Malta e Sousa edited this page Mar 11, 2020
·
11 revisions
python manage.py migrate --fake api zero
..\scripts\create_db.ps1
Delete migrations files except __init__.py
, then make migrations and migrate:
del .\api\migrations\0*.py
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser --email admin@example.com --username admin
Make messages
django-admin makemessages -l fr