Split settings file #95

Closed
opened 2022-01-31 10:24:30 +01:00 by mpeltriaux · 2 comments
Owner

Status quo

There already is a split for settings file:

  • konova/
    • settings.py (imports from ./sub_settings/django_settings.py)
    • sub_settings/
      • django_settings.py

However, consider the the konova/settings.py file to be split into more separate settings file.

This way the amount of re-configuration can be minimized on each new git pull on production/staging.

Split

Consider refactoring most of konova/settings.py file into importing all settings from the following structure:

  • konova/
    • sub_settings/
      • django_settings.py
      • proxy_settings.py
      • sso_settings.py
      • parcel_wfs_settings.py
      • table_settings.py
      • lanis_settings.py

This way, if some changes will be made to e.g. parcel_wfs_settings.py, we do not need to overwrite all other settings as well.

# Status quo There already is a split for settings file: * konova/ * settings.py (imports from ./sub_settings/django_settings.py) * sub_settings/ * django_settings.py However, consider the the konova/settings.py file to be split into more separate settings file. This way the amount of re-configuration can be minimized on each new `git pull` on production/staging. # Split Consider refactoring most of konova/settings.py file into importing all settings from the following structure: * konova/ * sub_settings/ * django_settings.py * proxy_settings.py * sso_settings.py * parcel_wfs_settings.py * table_settings.py * lanis_settings.py This way, if some changes will be made to e.g. parcel_wfs_settings.py, we do not need to overwrite all other settings as well.
mpeltriaux added the
enhancement
label 2022-01-31 10:24:30 +01:00
mpeltriaux self-assigned this 2022-01-31 10:24:30 +01:00
Author
Owner

In #93 some changes need to be added to the settings files. This is a perfect moment to do the changes, states in this issue all in one.

In #93 some changes need to be added to the settings files. This is a perfect moment to do the changes, states in this issue all in one.
mpeltriaux added a new dependency 2022-01-31 15:21:55 +01:00
mpeltriaux added a new dependency 2022-01-31 15:22:04 +01:00
mpeltriaux referenced this issue from a commit 2022-01-31 15:26:02 +01:00
Author
Owner

Merged in #98

# Merged in #98
btuelek referenced this issue from a commit 2024-12-05 13:18:37 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Blocks
#93 Error 500 email
IT-Naturschutz/konova
#97 Improve EMail template
IT-Naturschutz/konova
Reference: IT-Naturschutz/konova#95
No description provided.