Re: [Tutor] HttpResponse error

2009-10-26 Thread Dave Angel
Vincent Jones wrote: SyntaxError at / ("'return' outside function", ('c:\\Users\\Vincent\\Documents\\django_bookmarks\\..\\django_bookmarks\\boo kmarks\\views.py', 15, None, 'return HttpResponse(output)\n')) from django.http import HttpResponse def main_page(request) : output = '''

Re: [Tutor] HttpResponse error

2009-10-26 Thread Serdar Tumgoren
> Exception Type: SyntaxError at / > > Exception Value: ("'return' outside function", > ('c:\\Users\\Vincent\\Documents\\django_bookmarks\\..\\django_bookmarks\\bookmarks\\views.py', > 15, None, 'return HttpResponse(output)\n')) > The Error message indicates that you've diagnosed the problem corre