fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ff37fdd
)
Dodanie context_processors.py zapomnianego w poprzednim commicie.
author
zuber
<marek@stepniowski.com>
Wed, 20 Jan 2010 22:00:32 +0000
(23:00 +0100)
committer
zuber
<marek@stepniowski.com>
Wed, 20 Jan 2010 22:00:32 +0000
(23:00 +0100)
platforma/context_processors.py
[new file with mode: 0755]
patch
|
blob
diff --git a/platforma/context_processors.py
b/platforma/context_processors.py
new file mode 100755
(executable)
index 0000000..
eff3032
--- /dev/null
+++ b/
platforma/context_processors.py
@@ -0,0
+1,11
@@
+# -*- coding: utf-8
+__author__="lreqc"
+__date__ ="$2009-09-03 08:34:10$"
+
+def settings(request):
+ from django.conf import settings
+ return {'MEDIA_URL': settings.MEDIA_URL,
+ 'STATIC_URL': settings.STATIC_URL,
+ 'REDMINE_URL': settings.REDMINE_URL }
+
+