Phase 1 scaffolding: config/, core/, base models, AES-256-GCM phone encryption, enums mirror apps.tenant: Tenant + Domain (django-tenants) apps.org: 11 models (OrgUnit hierarchy, Staff, audit logs) apps.account: 4 models (UserAccount as AUTH_USER_MODEL, login/password tracking) apps.permission: 7 models (RBAC + overrides + datascope + append-only changelog) apps.region: 5 models (District, BusinessArea, MetroLine, MetroStation, School) All migrations generated, manage.py check passes
8 lines
251 B
Python
8 lines
251 B
Python
from .base import * # noqa: F401,F403
|
|
from .base import INSTALLED_APPS, MIDDLEWARE
|
|
|
|
INSTALLED_APPS = list(INSTALLED_APPS) + ["debug_toolbar"]
|
|
MIDDLEWARE = ["debug_toolbar.middleware.DebugToolbarMiddleware", *MIDDLEWARE]
|
|
|
|
INTERNAL_IPS = ["127.0.0.1"]
|