mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 08:51:09 -05:00
okay fine
This commit is contained in:
@@ -14,7 +14,6 @@ DEBUG = True
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = ["https://beta.thrillwiki.com"]
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
# ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'thrillwiki.com', 'beta.thrillwiki.com', '192.168.86.6', 'syn.thewesker.com']
|
||||
|
||||
# Application definition
|
||||
INSTALLED_APPS = [
|
||||
@@ -36,7 +35,6 @@ INSTALLED_APPS = [
|
||||
"django_htmx",
|
||||
"whitenoise",
|
||||
"django_tailwind_cli",
|
||||
"cities_light",
|
||||
"core",
|
||||
"accounts",
|
||||
"companies",
|
||||
@@ -44,26 +42,10 @@ INSTALLED_APPS = [
|
||||
"rides",
|
||||
"reviews",
|
||||
"email_service",
|
||||
"media.apps.MediaConfig", # Add media app
|
||||
"media.apps.MediaConfig",
|
||||
"moderation",
|
||||
]
|
||||
|
||||
# Cities Light settings
|
||||
CITIES_LIGHT_TRANSLATION_LANGUAGES = ["en"]
|
||||
# pytCITIES_LIGHT_INCLUDE_COUNTRIES = ['US', 'CA', 'GB', 'FR', 'DE', 'ES', 'IT', 'JP', 'CN', 'AU']
|
||||
CITIES_LIGHT_INCLUDE_CITY_TYPES = [
|
||||
"PPL",
|
||||
"PPLA",
|
||||
"PPLA2",
|
||||
"PPLA3",
|
||||
"PPLA4",
|
||||
"PPLC",
|
||||
"PPLG",
|
||||
"PPLL",
|
||||
"PPLR",
|
||||
"PPLS",
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
"django.middleware.cache.UpdateCacheMiddleware",
|
||||
"django.middleware.security.SecurityMiddleware",
|
||||
@@ -82,7 +64,6 @@ MIDDLEWARE = [
|
||||
|
||||
ROOT_URLCONF = "thrillwiki.urls"
|
||||
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
"BACKEND": "django.template.backends.django.DjangoTemplates",
|
||||
@@ -94,7 +75,7 @@ TEMPLATES = [
|
||||
"django.template.context_processors.request",
|
||||
"django.contrib.auth.context_processors.auth",
|
||||
"django.contrib.messages.context_processors.messages",
|
||||
"moderation.context_processors.moderation_access", # Added moderation context processor
|
||||
"moderation.context_processors.moderation_access",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user