mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-06-27 05:43:19 +03:00
Remove dependency on dj_database_url
This commit is contained in:
parent
1fad9fd3b1
commit
3c9251b45a
@ -6,5 +6,4 @@ psycopg2==2.7.3.2
|
|||||||
coverage==4.4.2
|
coverage==4.4.2
|
||||||
flake8==3.6.0
|
flake8==3.6.0
|
||||||
pep8==1.7.1
|
pep8==1.7.1
|
||||||
dj-database-url==0.4.2
|
|
||||||
tox==2.9.1
|
tox==2.9.1
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
import dj_database_url
|
|
||||||
|
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
TEMPLATE_DEBUG = True
|
TEMPLATE_DEBUG = True
|
||||||
|
|
||||||
@ -8,7 +6,10 @@ SECRET_KEY = 'this is my secret key' # NOQA
|
|||||||
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
|
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': dj_database_url.config(default='postgres:///localized_fields')
|
'default': {
|
||||||
|
'HOST': '127.0.0.1',
|
||||||
|
'NAME': 'localized_fields',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
DATABASES['default']['ENGINE'] = 'psqlextra.backend'
|
DATABASES['default']['ENGINE'] = 'psqlextra.backend'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user