You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from flask import Blueprint, render_template
|
|
import iot.theme as theme
|
|
|
|
errors = Blueprint('errors', __name__, template_folder='templates')
|
|
|
|
@errors.app_errorhandler(403)
|
|
def error_403(error):
|
|
return render_template('errors/403.html', theme=theme), 403
|