Add legacy database

Add requirements
This commit is contained in:
littlewolf 2019-09-30 11:19:09 +03:00
parent f1d60cc976
commit c03792d0e3
2 changed files with 12 additions and 1 deletions

View File

@ -147,6 +147,15 @@ DATABASES = {
'HOST': os.environ.get('DB_HOSTNAME'),
'PORT': os.environ.get('DB_PORT'),
},
'legacy': {
# mysql://92.53.66.27:3306
'ENGINE': 'django.db.backends.mysql',
'HOST': '92.53.66.27',
'PORT': 3306,
'NAME': 'dev',
'USER': 'dev',
'PASSWORD': 'octosecret123'
}
}

View File

@ -32,4 +32,6 @@ djangorestframework-simplejwt==4.3.0
django-elasticsearch-dsl>=7.0.0,<8.0.0
django-elasticsearch-dsl-drf==0.20.2
sentry-sdk==0.11.2
sentry-sdk==0.11.2
mysqlclient==1.4.4