the problem is not in django, it is more likely in your code... you have probably applied the login_required decorator to a view function, that does not correctly return the HttpResponse object...
again if you would post the function we could tell you more... Honza On 1/14/07, rzimerman <[EMAIL PROTECTED]> wrote:
I'm trying to use the 'login_required' decorator to limit access to some of my views of logged in users. However, when I connect to these views, I get the following error message: Request Method: GET Request URL: http://192.168.1.8/submitVote/ Exception Type: ValueError Exception Value: The view django.contrib.auth.decorators._checklogin didn't return an HttpResponse object. Exception Location: /usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/base.py in get_response, line 87 Any idea of the problem? Or, what steps could I take to debug the problem? Thank you very much! --Robert >
-- Honza Kr l E-Mail: [EMAIL PROTECTED] ICQ#: 107471613 Phone: +420 606 678585 --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---