Aug 6 - Add enrollment page
This commit is contained in:
@@ -288,6 +288,13 @@ def create_app(config_name='default'):
|
||||
app.register_blueprint(scheduled_inspections.bp)
|
||||
app.register_blueprint(ui.bp)
|
||||
|
||||
# ── Enrollment form (self-contained — see app/enrollment/__init__.py) ────
|
||||
# Deliberately NOT part of the app's data model: it owns its own templates
|
||||
# and stores submissions as JSON files, so it touches no table and needs no
|
||||
# migration. Registered last because nothing else depends on it.
|
||||
from app.enrollment import register_enrollment
|
||||
register_enrollment(app)
|
||||
|
||||
# ── Mobile API (Phase 7 / Phase A / Phase B / Phase C) ───────────────────
|
||||
# The /api/v1 blueprint group uses JWT Bearer tokens — no CSRF cookies needed.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user