ScoDoc/app/views/__init__.py

15 lines
384 B
Python
Raw Normal View History

2021-05-29 18:22:51 +02:00
# -*- coding: UTF-8 -*
"""ScoDoc Flask views
"""
from flask import Blueprint
scolar_bp = Blueprint("scolar", __name__)
2021-05-29 18:22:51 +02:00
notes_bp = Blueprint("notes", __name__)
absences_bp = Blueprint("absences", __name__)
essais_bp = Blueprint("essais", __name__)
2021-05-29 18:22:51 +02:00
from app.views import notes, scolar, absences, essais
scolar.context.Notes = notes.context
scolar.context.Absences = absences.context