We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e13b0 commit c0ce095Copy full SHA for c0ce095
conditional/__init__.py
@@ -74,10 +74,10 @@ def route_errors(error):
74
data['name'] = member.cn
75
code = error.code
76
return render_template(request=request,
77
- template_name='404.html',
+ template_name='errors.html',
78
error=str(error),
79
error_code=code,
80
- **data), 404
+ **data), int(code)
81
82
@app.cli.command()
83
def zoo():
conditional/templates/404.html renamed to conditional/templates/errors.html
0 commit comments