feat: add governance bootstrap models

This commit is contained in:
hailin
2026-07-01 14:04:22 +08:00
parent ee9aad6a02
commit 7c4b66b832
9 changed files with 304 additions and 47 deletions

View File

@@ -0,0 +1,11 @@
from django.core.management.base import BaseCommand
from apps.accounts.bootstrap import bootstrap_governance
class Command(BaseCommand):
help = "Bootstrap enterprise governance defaults."
def handle(self, *args, **options):
bootstrap_governance()
self.stdout.write(self.style.SUCCESS("Bootstrapped enterprise governance."))