Remove redundant error handler

master
Steven Loria 11 years ago
parent 4a5dd70c66
commit 34ba9a1531
  1. 4
      {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/public/views.py

@ -57,7 +57,3 @@ def register():
def about():
form = LoginForm(request.form)
return render_template("public/about.html", form=form)
@blueprint.errorhandler(404)
def page_not_found(e):
return render_template("404.html"), 404

Loading…
Cancel
Save