fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
apps/wiki/settings.py
@@ -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