write down every time redirect adds something

This commit is contained in:
pierre geeraert
2026-06-21 21:21:54 +01:00
parent 6cacd1a2cf
commit e153be4b58
11 changed files with 153 additions and 57 deletions
+9
View File
@@ -45,6 +45,7 @@ INSTALLED_APPS = [
'django_hosts',
'apps.cloudmanager.apps.CloudmanagerConfig',
'apps.random_simpsons.apps.RandomSimpsonsConfig',
'apps.website_redirection.apps.redirectConfig',
'import_export',
]
@@ -115,6 +116,14 @@ DATABASES = {
'HOST': os.environ.get('DB_HOST'),
'PORT': os.environ.get('DB_PORT'),
},
'redirect_db': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': '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 = []