mirror of
https://github.com/django/django.git
synced 2025-06-04 11:09:13 +00:00
Clarified error message for when sqlplarse isn't installed.
This commit is contained in:
parent
ba2c4ec7cc
commit
3d22121a0b
@ -300,7 +300,7 @@ class BaseDatabaseOperations:
|
|||||||
import sqlparse
|
import sqlparse
|
||||||
except ImportError:
|
except ImportError:
|
||||||
raise ImproperlyConfigured(
|
raise ImproperlyConfigured(
|
||||||
"sqlparse is required if you don't split your SQL "
|
"The sqlparse package is required if you don't split your SQL "
|
||||||
"statements manually."
|
"statements manually."
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user