From: zuber Date: Wed, 20 Jan 2010 22:00:32 +0000 (+0100) Subject: Dodanie context_processors.py zapomnianego w poprzednim commicie. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/fdac11be5d35dd4940d4361420af26d9e2d977fe?ds=sidebyside Dodanie context_processors.py zapomnianego w poprzednim commicie. --- diff --git a/platforma/context_processors.py b/platforma/context_processors.py new file mode 100755 index 00000000..eff3032c --- /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 } + +