sangdongvan / django-pagination

Automatically exported from code.google.com/p/django-pagination due to issue syntax errors when running python3
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

TemplateSyntaxError when using PAGINATION_INVALID_PAGE_RAISES_404 #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. set PAGINATION_INVALID_PAGE_RAISES_404 = True
2. Go to an invalid page.

What is the expected output? What do you see instead?

Django should show a 404 pages but because the Http404 is raised during 
template rendering it gets caught and reraised as a TemplateSyntaxError 
causing a status 500 page.

Whether this is a Django issue or a django-pagination issue might be up for 
debate.

Original issue reported on code.google.com by IanMLe...@gmail.com on 18 Dec 2009 at 1:00

GoogleCodeExporter commented 8 years ago
This has been causing us countless errors on our site. Is there a re workaround 
in the interim?

Original comment by ash.chri...@gmail.com on 20 Oct 2010 at 1:48

GoogleCodeExporter commented 8 years ago
This has been causing us countless errors on our site. Is there a re workaround 
in the interim?

Original comment by ash.chri...@gmail.com on 20 Oct 2010 at 1:48

GoogleCodeExporter commented 8 years ago
This has been causing us countless errors on our site. Is there a re workaround 
in the interim?

Original comment by ash.chri...@gmail.com on 20 Oct 2010 at 2:10