Add fixtures

This commit is contained in:
2019-01-16 23:30:24 +01:00
parent da5582ed19
commit 8268abaaf8
2 changed files with 4 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ python3 manage.py makemigrations
##Create admin tables
python3 manage.py migrate
###Populate the database
python3 manage.py loaddata fixtures/db.json
##Create admin user
python3 manage.py createsuperuser --email admin@gmail.com --username admin