commit | a226eb4399829560fb2be51310e9d975ab20183c | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Mon Jun 09 11:55:26 2014 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Mon Jun 09 11:55:26 2014 -0700 |
tree | e165d22ef5eec239722e09b91541ab3fdf439104 | |
parent | 838d7dfe281b5300f7d53878c36291edb0ace1a5 [diff] |
add ability to disabled minidashboard
diff --git a/planetstack/core/context_processors.py b/planetstack/core/context_processors.py new file mode 100644 index 0000000..839316f --- /dev/null +++ b/planetstack/core/context_processors.py
@@ -0,0 +1,6 @@ +from django.conf import settings + +print dir(settings) + +def planetstack(request): + return {"DISABLE_MINIDASHBOARD": settings.DISABLE_MINIDASHBOARD}