Compare commits
3 Commits
c7ddf8a435
...
a12dd0d020
Author | SHA1 | Date |
---|---|---|
Danhia | a12dd0d020 | |
Starthur | 377607239e | |
Starthur | 3829ad11ef |
|
@ -28,5 +28,7 @@ DEBUG = True
|
||||||
SECRET_KEY = 'what you want'
|
SECRET_KEY = 'what you want'
|
||||||
```
|
```
|
||||||
|
|
||||||
When you'll run `python manage.py runserver`, an empty database will be automatically created.
|
When you'll run `python manage.py migrate` then `python manage.py runserver`, an empty database will be automatically created.
|
||||||
The `local_settings.py` is in the `.gitignore` and should stay that way, so we don't accidentally overwrite the production file when we deploy.
|
The `local_settings.py` is in the `.gitignore` and should stay that way, so we don't accidentally overwrite the production file when we deploy.
|
||||||
|
|
||||||
|
To obtain administrator rights you can run `python manage.py createsuperuser`.
|
Loading…
Reference in New Issue