I would really like to be able in my views.py file to do a...

def do_something(request, x):
        #do something that changes some session vars here...
        #now go back to where you were
        return HttpResponseRedirect(request.META['HTTP_REFERER'] )

.. but I always get...

ValueError
Exception Value:        The view bah.xxx.views.do_something didn't return  
an HttpResponse object.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to