Skip to content
Snippets Groups Projects
Commit c1649d03 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Introduce optional settings subfolder

The subfolder is not under version control, however, you can place another version controlled source here if needed
parent 5e3c8790
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
# Secrets for production # Secrets for production
AKPlanning/settings_secrets.py AKPlanning/settings_secrets.py
# Settings subfolder
AKPlanning/settings/
# static files generated by django # static files generated by django
/static/ /static/
......
...@@ -15,6 +15,8 @@ from django.utils.translation import gettext_lazy as _ ...@@ -15,6 +15,8 @@ from django.utils.translation import gettext_lazy as _
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
from split_settings.tools import optional, include
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production # Quick-start development settings - unsuitable for production
...@@ -147,3 +149,11 @@ FONTAWESOME_CSS_URL = "//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/ ...@@ -147,3 +149,11 @@ FONTAWESOME_CSS_URL = "//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/
# Treat wishes as seperate category in submission views? # Treat wishes as seperate category in submission views?
WISHES_AS_CATEGORY = True WISHES_AS_CATEGORY = True
FOOTER_INFO = {
"repo_url": "https://gitlab.fachschaften.org/kif/akplanning",
"impress_text": "",
"impress_url": ""
}
include(optional("settings/*.py"))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment