What steps will reproduce the problem?
1. Add @expect_post_request to a view
2. Make GET reqest to that view
What is the expected output? What do you see instead?
I get HTTP ERROR 500, but it should be 405.
What version of the product are you using? On what operating system?
trunk.
Please provide any additional information below.
Raising HttpResponseNotAllowed(['POST']) instead of plain Exception('...') will
solve the issue.
Original issue reported on code.google.com by zim...@gmail.com on 21 Jan 2011 at 11:57
Original issue reported on code.google.com by
zim...@gmail.com
on 21 Jan 2011 at 11:57