1 from forum import settings
3 def application_settings(context):
4 return {'settings': settings}
6 def auth_processor(request):
7 if hasattr(request, 'user'):
10 from django.contrib.auth.models import AnonymousUser
11 user = AnonymousUser()
13 from django.core.context_processors import PermWrapper
16 'perms': PermWrapper(user),