first commit
Change-Id: I8a65ee5527dd16d81e87c8ac5d4bdb471e5e759d
Signed-off-by: lombardof <flombardo@cnit.it>
diff --git a/sf_t3d/context_processor.py b/sf_t3d/context_processor.py
new file mode 100644
index 0000000..d554515
--- /dev/null
+++ b/sf_t3d/context_processor.py
@@ -0,0 +1,10 @@
+from django.conf import settings # import the settings file
+
+
+def conf_constants(request):
+ # return the value you want as a dictionnary. you may add multiple values in there.
+ return {
+ 'SITE_NAME': settings.SITE_NAME,
+ 'SHORT_SITE_NAME': settings.SHORT_SITE_NAME,
+ 'VERSION': settings.VERSION,
+ }
\ No newline at end of file