ScoDoc/app/views/__init__.py

15 lines
384 B
Python

# -*- coding: UTF-8 -*
"""ScoDoc Flask views
"""
from flask import Blueprint
scolar_bp = Blueprint("scolar", __name__)
notes_bp = Blueprint("notes", __name__)
absences_bp = Blueprint("absences", __name__)
essais_bp = Blueprint("essais", __name__)
from app.views import notes, scolar, absences, essais
scolar.context.Notes = notes.context
scolar.context.Absences = absences.context