universalcore / springboard

Bootstrap Universal Core applications easily
http://springboard.readthedocs.org/
BSD 2-Clause "Simplified" License
1 stars 2 forks source link

Create custom 404 page #19

Closed nathanbegbie closed 9 years ago

Rizziepit commented 9 years ago

@nathanbegbie I actually fiddled with this code yesterday. Have a look at the changes I made here and here.

Turns out the notfound_view_config decorator doesn't set the proper response code (surprisingly). Also, webtest.TestApp raises an exception when 404 is returned unless you explicitly tell it to expect an error response.

nathanbegbie commented 9 years ago

@Rizziepit +1 ?

Rizziepit commented 9 years ago

+1

miltontony commented 9 years ago

:+1: