Add Dump database to the readme
This commit is contained in:
@ -6,8 +6,11 @@ python3 manage.py makemigrations
|
||||
###Create admin tables
|
||||
python3 manage.py migrate
|
||||
|
||||
###Populate the database
|
||||
python3 manage.py loaddata fixtures/db.json
|
||||
###Populate the database
|
||||
python3 manage.py loaddata fixtures/db.json
|
||||
|
||||
###Dump the database into file
|
||||
python3 manage.py dumpdata > fixtures/db.json
|
||||
|
||||
###Create admin user
|
||||
python3 manage.py createsuperuser --email admin@gmail.com --username admin
|
||||
|
Reference in New Issue
Block a user