Ticket #3818: context_processors.diff
File context_processors.diff, 420 bytes (added by , 18 years ago) |
---|
-
context_processors.py
42 42 43 43 return context_extras 44 44 45 def exposed(request): 46 dict = {} 47 for name in settings.EXPOSE_SETTINGS: 48 dict[name] = getattr(settings, name) 49 return dict 50 45 51 def request(request): 46 52 return {'request': request} 47 53