aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/utils
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-01-19 15:57:06 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-01-19 15:57:06 +0000
commit9d76a3c52b8310726ec09e0262813f0438c21df6 (patch)
tree4acf47dce6c3aa75f8ad7c5cb56fe6486c2d64a7 /ctrack/utils
init commit - from cookiecutter
Diffstat (limited to 'ctrack/utils')
-rw-r--r--ctrack/utils/__init__.py0
-rw-r--r--ctrack/utils/context_processors.py5
2 files changed, 5 insertions, 0 deletions
diff --git a/ctrack/utils/__init__.py b/ctrack/utils/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ctrack/utils/__init__.py
diff --git a/ctrack/utils/context_processors.py b/ctrack/utils/context_processors.py
new file mode 100644
index 0000000..de40507
--- /dev/null
+++ b/ctrack/utils/context_processors.py
@@ -0,0 +1,5 @@
+from django.conf import settings
+
+
+def settings_context(_request):
+ return {"settings": settings}