Replace django-dbsettings with django-constance
Rationale: django-constance is a bit better maintained and has some features we need, e.g. injecting config into templates through a context processor. Also, decoupling the settings definitions from import time allows us to implement lazy access to the config, so we can later access them in other variables insettings.py directly.
parent
9f628f58
No related branches found
No related tags found
Showing
- aleksis/core/apps.py 3 additions, 2 deletionsaleksis/core/apps.py
- aleksis/core/db_settings.py 0 additions, 29 deletionsaleksis/core/db_settings.py
- aleksis/core/mailer.py 4 additions, 3 deletionsaleksis/core/mailer.py
- aleksis/core/processors.py 0 additions, 5 deletionsaleksis/core/processors.py
- aleksis/core/settings.py 20 additions, 2 deletionsaleksis/core/settings.py
- aleksis/core/urls.py 0 additions, 1 deletionaleksis/core/urls.py
- aleksis/core/util/sass_helpers.py 5 additions, 4 deletionsaleksis/core/util/sass_helpers.py
- poetry.lock 36 additions, 10 deletionspoetry.lock
- pyproject.toml 1 addition, 1 deletionpyproject.toml
Loading
Please register or sign in to comment