fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added maintance mode middleware.
[redakcja.git]
/
apps
/
maintenancemode
/
conf
/
settings.py
diff --git a/apps/maintenancemode/conf/settings.py
b/apps/maintenancemode/conf/settings.py
new file mode 100644
(file)
index 0000000..
4d0b1a5
--- /dev/null
+++ b/
apps/maintenancemode/conf/settings.py
@@ -0,0
+1,3
@@
+from django.conf import settings
+
+MAINTENANCE_MODE = getattr(settings, 'MAINTENANCE_MODE', False)
\ No newline at end of file