hi i have defined a function in my view.py from django.http import HttpResponse
class work(request): def get(self): return HttpResponse("its working") but when i browse to mysite/work i am getting "name 'request' is not defined" any one have any idea what is wrong ? cheers nash --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---