This commit is contained in:
@@ -51,6 +51,7 @@ INSTALLED_APPS = [
|
||||
'apps.telegram_communication.apps.TelegramCommunicationConfig',
|
||||
'apps.podcast_aggregator.apps.PodcastAggregatorConfig',
|
||||
'apps.streaming.apps.StreamingConfig',
|
||||
'apps.streaming_redirect.apps.StreamingRedirectConfig',
|
||||
'import_export',
|
||||
'djangoql',
|
||||
]
|
||||
@@ -163,6 +164,14 @@ DATABASES = {
|
||||
'HOST': os.environ.get('DB_HOST'),
|
||||
'PORT': os.environ.get('DB_PORT'),
|
||||
},
|
||||
'streaming_redirect_db': {
|
||||
'ENGINE': 'django.db.backends.postgresql',
|
||||
'NAME': 'streaming_redirect',
|
||||
'USER': os.environ.get('DB_USERNAME'),
|
||||
'PASSWORD': os.environ.get('DB_PASSWORD'),
|
||||
'HOST': os.environ.get('DB_HOST'),
|
||||
'PORT': os.environ.get('DB_PORT'),
|
||||
},
|
||||
}
|
||||
DATABASE_ROUTERS = ['core.routers.ProjectDatabaseRouter']
|
||||
#DATABASE_ROUTERS = []
|
||||
|
||||
Reference in New Issue
Block a user