From ccfc63682ea4c46b31ebe77b083f957fdfaee4d0 Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Mon, 30 Jan 2023 16:56:55 -0400 Subject: [PATCH] Update README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 3041ca88..47aeafc1 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,17 @@ Finally, you can start the development server: $ poetry run ./manage.py runserver ``` +### Extending the settings + +If you want to extend the settings while doing local development with poetry, +you just need to set the `DJANGO_SETTINGS_MODULE` environment variable to point +to the new settings file, e.g. to run the server using the `sample_settings.py` +file: + +```shell +$ DJANGO_SETTINGS_MODULE=steering.sample_settings poetry run ./manage.py runserver +``` + ## Data Model A visualization of the data model can be generated using the [Graph Models -- GitLab