diff --git a/netcop_hub/settings.py b/netcop_hub/settings.py index 193e695..8e9e8b2 100644 --- a/netcop_hub/settings.py +++ b/netcop_hub/settings.py @@ -87,7 +87,7 @@ WSGI_APPLICATION = 'netcop_hub.wsgi.application' # Database # https://docs.djangoproject.com/en/5.2/ref/settings/#databases -if config('DATABASE_URL', default=''): +if config('RAILWAY_ENVIRONMENT', default=''): DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql',