Aug 7 - Update: Enrollment intake form

This commit is contained in:
2026-08-07 16:52:49 -04:00
parent 513f708ee9
commit f3eb4badef
13 changed files with 2216 additions and 0 deletions
+6
View File
@@ -338,6 +338,12 @@ def create_app(config_name='default'):
app.register_blueprint(signup.bp)
app.register_blueprint(landing.bp)
app.register_blueprint(ui.bp)
# ── Enrollment form (self-contained — see app/enrollment/__init__.py) ────
# Registered last and via its own helper so the package stays deletable:
# removing app/enrollment/ and these two lines removes the feature entirely.
from app.enrollment import register_enrollment
register_enrollment(app)
# Billing blueprint is CSRF-exempt: /billing/webhook receives raw POST from
# Stripe and cannot carry a CSRF token. Subscribe/portal are GET redirects
# which Flask-WTF does not protect anyway (CSRF only applies to unsafe methods).