added migration steps
This commit is contained in:
parent
b94ecf0fd5
commit
3545df1839
@ -111,7 +111,15 @@ ADMIN_URL=
|
|||||||
`python manage.py createsuperuser`
|
`python manage.py createsuperuser`
|
||||||
|
|
||||||
- follow the prompts to create your superuser and try to access the admin portal at
|
- follow the prompts to create your superuser and try to access the admin portal at
|
||||||
``127.0.0.1:8000/api/admin`
|
`127.0.0.1:8000/api/admin`
|
||||||
|
|
||||||
|
- finally migrate models to your empty db that should have already been created:
|
||||||
|
|
||||||
|
`python manage.py makemigrations`
|
||||||
|
|
||||||
|
and then
|
||||||
|
|
||||||
|
`python manage.py migrate`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user