Dodanie aplikacji wiki.
[redakcja.git] / apps / wiki / settings.py
diff --git a/apps/wiki/settings.py b/apps/wiki/settings.py
new file mode 100644 (file)
index 0000000..87b0330
--- /dev/null
@@ -0,0 +1,6 @@
+from django.conf import settings
+
+if not hasattr(settings, 'WIKI_REPOSITORY_PATH'):
+    raise Exception('You must set WIKI_REPOSITORY_PATH in your settings file.')
+
+REPOSITORY_PATH = settings.WIKI_REPOSITORY_PATH