Merge pull request 'Update README' (#21) from update-readme into main

Reviewed-on: #21
This commit is contained in:
Danhia 2022-02-16 14:34:14 +01:00
commit 494377399c
1 changed files with 4 additions and 2 deletions

View File

@ -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`.