Add multi-plan subscriptions, quotas, and token usage APIs
Implements #16/#17/#36: Founders/Standard/Pro/Business/Backer catalog, Backer email whitelist, prompt-window + token-period gates, and tokens_in/out on conversation/prompt + subscription usage APIs.
This commit is contained in:
@@ -5,3 +5,10 @@ class FinanceConfig(AppConfig):
|
||||
default_auto_field = "django.db.models.BigAutoField"
|
||||
name = "finance"
|
||||
verbose_name = "Finance"
|
||||
|
||||
def ready(self):
|
||||
from django.db.models.signals import post_migrate
|
||||
|
||||
from finance.signals import seed_plans_on_migrate
|
||||
|
||||
post_migrate.connect(seed_plans_on_migrate, sender=self)
|
||||
|
||||
Reference in New Issue
Block a user