summaryrefslogtreecommitdiff
path: root/main/context_processors.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/context_processors.py')
-rw-r--r--main/context_processors.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/context_processors.py b/main/context_processors.py
new file mode 100644
index 00000000..a60d4e63
--- /dev/null
+++ b/main/context_processors.py
@@ -0,0 +1,4 @@
+def secure(request):
+ return {'secure': request.is_secure()}
+
+# vim: set ts=4 sw=4 et: