fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update librarian and editor
[redakcja.git]
/
redakcja
/
context_processors.py
diff --git
a/redakcja/context_processors.py
b/redakcja/context_processors.py
index
2724f83
..
8aaf693
100644
(file)
--- a/
redakcja/context_processors.py
+++ b/
redakcja/context_processors.py
@@
-1,5
+1,6
@@
# -*- coding: utf-8
# -*- coding: utf-8
+
def settings(request):
from django.conf import settings
def settings(request):
from django.conf import settings
@@
-15,6
+16,8
@@
def settings(request):
return {
'MEDIA_URL': settings.MEDIA_URL,
'STATIC_URL': settings.STATIC_URL,
return {
'MEDIA_URL': settings.MEDIA_URL,
'STATIC_URL': settings.STATIC_URL,
+ 'IMAGE_DIR': settings.IMAGE_DIR,
'DEBUG': settings.DEBUG,
'DEBUG': settings.DEBUG,
+ 'RAVEN_CONFIG': getattr(settings, 'RAVEN_CONFIG', None),
'APP_VERSION': VERSION,
}
'APP_VERSION': VERSION,
}