Helo. I'm trying to get acces to auth mechanizm into template (user object). Currently I'm using such construction: at beggining of my views.py: ------ from django.template import RequestContext as Context from django.shortcuts import render_to_response
def index(request): ..[cut bla bla ].. return render_to_response('helpdesk/ticket_list.html', Context(request,{'object_list':t})) ------ Is there any "DRY"(shorter) method for this Context(request,{}) _every_time ? :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---