google-code-export / django-page-cms

Automatically exported from code.google.com/p/django-page-cms
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

invalid admin URL raises exception instead of Http404 #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. log in to admin page
2. Browsing to /ADMIN_URL/pages/page/ANY-NON-INT

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

I expected invalid URL requests to result in Http404 being raised. Instead, a 
ValueError exception is raised leading to an HTTP 500. 

Suggested patch attached.

Original issue reported on code.google.com by shawnchin@gmail.com on 24 Aug 2010 at 10:31

Attachments:

GoogleCodeExporter commented 9 years ago
Opps. This looks to be the same as issue 205. Sorry.

How can I remove this issue?

Original comment by shawnchin@gmail.com on 24 Aug 2010 at 10:45

GoogleCodeExporter commented 9 years ago

Original comment by batiste....@gmail.com on 13 Sep 2010 at 10:18