When I try to access an unexisting slug I get the following error:
'NoneType' object has no attribute 'get_absolute_url'
instead of a 404 page on 1.0.3
I solved the problem editing views.py line 34, now i have:
34 if current_page and request.META['PATH_INFO'] !=
current_page.get_absolute_url():
instead of:
34 if request.META['PATH_INFO'] != current_page.get_absolute_url():
Original issue reported on code.google.com by hugoase...@gmail.com on 21 May 2009 at 11:21
Original issue reported on code.google.com by
hugoase...@gmail.com
on 21 May 2009 at 11:21