write down every time redirect adds something
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user