mirror of
				https://github.com/SectorLabs/django-localized-fields.git
				synced 2025-10-31 10:48:56 +03:00 
			
		
		
		
	Add back dj-database-url, need it for CI
This commit is contained in:
		| @@ -16,6 +16,7 @@ pytest-django==3.6.0 | |||||||
| pytest-cov==2.8.1 | pytest-cov==2.8.1 | ||||||
|  |  | ||||||
| # Test support | # Test support | ||||||
|  | dj-database-url==0.4.2 | ||||||
| django-autoslug==1.9.3 | django-autoslug==1.9.3 | ||||||
| django-bleach==0.3.0 | django-bleach==0.3.0 | ||||||
| psycopg2==2.7.3.2 | psycopg2==2.7.3.2 | ||||||
|   | |||||||
| @@ -1,3 +1,5 @@ | |||||||
|  | import dj_database_url | ||||||
|  |  | ||||||
| DEBUG = True | DEBUG = True | ||||||
| TEMPLATE_DEBUG = True | TEMPLATE_DEBUG = True | ||||||
|  |  | ||||||
| @@ -6,10 +8,7 @@ SECRET_KEY = 'this is my secret key'  # NOQA | |||||||
| TEST_RUNNER = 'django.test.runner.DiscoverRunner' | TEST_RUNNER = 'django.test.runner.DiscoverRunner' | ||||||
|  |  | ||||||
| DATABASES = { | DATABASES = { | ||||||
|     'default': { |     'default': dj_database_url.config(default='postgres:///psqlextra'), | ||||||
|         'HOST': '127.0.0.1', |  | ||||||
|         'NAME': 'localized_fields', |  | ||||||
|     }, |  | ||||||
| } | } | ||||||
|  |  | ||||||
| DATABASES['default']['ENGINE'] = 'psqlextra.backend' | DATABASES['default']['ENGINE'] = 'psqlextra.backend' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user