July 3rd - Update landing page

This commit is contained in:
2026-07-03 15:38:31 -04:00
parent 4c275fc0e5
commit 4b6401be43
12 changed files with 414 additions and 19 deletions
+4
View File
@@ -269,6 +269,10 @@ def create_tenant(slug, name, plan_code, admin_email, admin_username=None,
if trial_days:
t.subscription_status = 'trial'
t.trial_ends_at = now_eastern() + timedelta(days=trial_days)
else:
# No trial (e.g. Free plan) — provision as active so the billing
# gate treats it as a live, non-expiring subscription.
t.subscription_status = 'active'
t.set_db_password(password)
s.add(t); s.flush()
tenant_id = t.id