Hello!
I'm using Django, and I have the following error:
Exception Type: SyntaxError Exception Value: invalid syntax (views.py, line 115)
My viws.py code looks like this:
def myview(request):
try:
[...]
except MyExceptionClass, e:
[...]
finally:
render_to_response('template.html', {}, context_instance = RequestContext(request))
Where MyExceptionClass is a class extending Exception, and line 115 is the 'finally' clause line. If I remove finally clause, (lines 115-116), works fine. Any idea?
Thanks a lot!