Corrects references in tests
This commit is contained in:
parent
3aa9c3accf
commit
13a8bb45af
6 changed files with 37 additions and 9 deletions
|
@ -77,9 +77,9 @@ WSGI_APPLICATION = 'bookwyrm.wsgi.application'
|
|||
# Database
|
||||
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases
|
||||
|
||||
FEDIREADS_DATABASE_BACKEND = env('FEDIREADS_DATABASE_BACKEND', 'postgres')
|
||||
BOOKWYRM_DATABASE_BACKEND = env('BOOKWYRM_DATABASE_BACKEND', 'postgres')
|
||||
|
||||
FEDIREADS_DBS = {
|
||||
BOOKWYRM_DBS = {
|
||||
'postgres': {
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'NAME': env('POSTGRES_DB', 'fedireads'),
|
||||
|
@ -95,7 +95,7 @@ FEDIREADS_DBS = {
|
|||
}
|
||||
|
||||
DATABASES = {
|
||||
'default': FEDIREADS_DBS[FEDIREADS_DATABASE_BACKEND]
|
||||
'default': BOOKWYRM_DBS[BOOKWYRM_DATABASE_BACKEND]
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue