Aug 6 - Add enrollment page

This commit is contained in:
2026-08-06 11:10:26 -04:00
parent c988f8cabb
commit 633a5b865f
12 changed files with 1239 additions and 0 deletions
+7
View File
@@ -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.
#