diff options
Diffstat (limited to 'ctrack/utils')
-rw-r--r-- | ctrack/utils/__init__.py | 0 | ||||
-rw-r--r-- | ctrack/utils/context_processors.py | 5 |
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} |