parent
e008f48f36
commit
adb744089e
6 changed files with 136 additions and 101 deletions
|
@ -58,6 +58,10 @@ def index(path, **kwargs):
|
|||
def internal_error_display():
|
||||
return render_page_template('500.html')
|
||||
|
||||
@web.errorhandler(404)
|
||||
@web.route('/404', methods=['GET'])
|
||||
def not_found_error_display(e = None):
|
||||
return render_page_template('404.html')
|
||||
|
||||
@web.route('/organization/<path:path>', methods=['GET'])
|
||||
@no_cache
|
||||
|
|
Reference in a new issue