mirror of
https://github.com/django/django.git
synced 2025-07-19 09:09:13 +00:00
[1.8.x] Fixed an admin_scripts test on Ubuntu 16.04/spatialite.
This commit is contained in:
parent
99cd139a30
commit
15a80c3dfd
@ -61,6 +61,7 @@ class AdminScriptTestCase(unittest.TestCase):
|
|||||||
'SECRET_KEY',
|
'SECRET_KEY',
|
||||||
'TEST_RUNNER', # We need to include TEST_RUNNER, otherwise we get a compatibility warning.
|
'TEST_RUNNER', # We need to include TEST_RUNNER, otherwise we get a compatibility warning.
|
||||||
'MIDDLEWARE_CLASSES', # We need to include MIDDLEWARE_CLASSES, otherwise we get a compatibility warning.
|
'MIDDLEWARE_CLASSES', # We need to include MIDDLEWARE_CLASSES, otherwise we get a compatibility warning.
|
||||||
|
'SPATIALITE_LIBRARY_PATH',
|
||||||
]
|
]
|
||||||
for s in exports:
|
for s in exports:
|
||||||
if hasattr(settings, s):
|
if hasattr(settings, s):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user