diff options
-rw-r--r-- | meetingtools/context_processors.py | 3 | ||||
-rw-r--r-- | meetingtools/multiresponse.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/meetingtools/context_processors.py b/meetingtools/context_processors.py index 5bd5885..491e785 100644 --- a/meetingtools/context_processors.py +++ b/meetingtools/context_processors.py @@ -21,3 +21,6 @@ def theme(request): ctx.update(settings.THEMES['__default__']) return _w(ctx) + +def misc_urls(request): + return {'LOGIN_URL': settings.LOGIN_URL}
\ No newline at end of file diff --git a/meetingtools/multiresponse.py b/meetingtools/multiresponse.py index f599323..fa46cc4 100644 --- a/meetingtools/multiresponse.py +++ b/meetingtools/multiresponse.py @@ -31,7 +31,7 @@ def make_response_dict(request,d={}): if request.user.is_authenticated(): d['user'] = request.user - ctx = RequestContext(request,d,[context_processors.theme]) + ctx = RequestContext(request,d,[context_processors.theme,context_processors.misc_urls]) print repr(ctx['theme']) return ctx |