fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore compressed statics.
[redakcja.git]
/
apps
/
wiki
/
models.py
diff --git
a/apps/wiki/models.py
b/apps/wiki/models.py
index
9401041
..
8ec4d32
100644
(file)
--- a/
apps/wiki/models.py
+++ b/
apps/wiki/models.py
@@
-67,5
+67,5
@@
class Document(object):
return result
return result
-# Every time somebody says "let's have a global variable", God kills a kitten.
-
storage =
DocumentStorage(settings.REPOSITORY_PATH)
+def getstorage():
+
return
DocumentStorage(settings.REPOSITORY_PATH)