setup new model

This commit is contained in:
pierre geeraert
2026-06-30 23:55:10 +01:00
parent f68b0ad00f
commit a44ca7e825
2 changed files with 18 additions and 3 deletions
+9
View File
@@ -48,6 +48,7 @@ INSTALLED_APPS = [
'apps.website_redirection.apps.redirectConfig',
'apps.job_dashboard.apps.JobDashboardConfig',
'apps.telegram_communication.apps.TelegramCommunicationConfig',
'apps.podcast_aggregator.apps.PodcastAggregatorConfig',
'import_export',
]
@@ -142,6 +143,14 @@ DATABASES = {
'HOST': os.environ.get('DB_HOST'),
'PORT': os.environ.get('DB_PORT'),
},
'podcast_db': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'podcast',
'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 = []