Template
Extract always-on public/portal/UTM plus optional email_sms, directmail, blog, payments, social, and social_ai so new client sites can be bootstrapped from this seed. Refs #1 Refs #2 Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
316 B
Python
13 lines
316 B
Python
"""Load environment-specific Django settings based on DJANGO_ENV."""
|
|
|
|
import os
|
|
|
|
_environment = os.environ.get("DJANGO_ENV", "dev").lower()
|
|
|
|
if _environment == "prod":
|
|
from .prod import * # noqa: F403
|
|
elif _environment == "beta":
|
|
from .beta import * # noqa: F403
|
|
else:
|
|
from .dev import * # noqa: F403
|