nopaque/app/contributions/routes.py
2022-09-02 13:02:04 +02:00

17 lines
295 B
Python

from flask_login import login_required
from app.decorators import permission_required
from app.models import Permission
from . import bp
@bp.before_request
@login_required
@permission_required(Permission.CONTRIBUTE)
def before_request():
pass
@bp.route('')
def contributions():
pass