summaryrefslogtreecommitdiff
path: root/website/context_processors.py
diff options
context:
space:
mode:
Diffstat (limited to 'website/context_processors.py')
-rw-r--r--website/context_processors.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/website/context_processors.py b/website/context_processors.py
new file mode 100644
index 0000000..2497e7c
--- /dev/null
+++ b/website/context_processors.py
@@ -0,0 +1,10 @@
+from website.views import admins
+
+def admin_processor(request):
+ return {'admins': admins}
+
+def booleans():
+ return {
+ 'True': True,
+ 'False': False,
+ }