Files
weirsoe-party-protocol/lobby/feature_flags.py
Asger Geel Weirsoee 1aa296c45c
All checks were successful
CI / test-and-quality (push) Successful in 2m17s
CI / test-and-quality (pull_request) Successful in 2m5s
feat(spa): add USE_SPA_UI cutover flag with legacy fallback
2026-03-01 11:14:38 +00:00

7 lines
168 B
Python

from django.conf import settings
def use_spa_ui() -> bool:
"""Central read-point for SPA cutover flag."""
return bool(getattr(settings, "USE_SPA_UI", False))