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 = '''
> 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