Fixed #14517 -- Corrected the exception that is caught when testing for the availability of STDDEV operations. Thanks to agabel for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4c9741cba2
commit
4d5b00b874
|
@ -185,7 +185,7 @@ class BaseDatabaseFeatures(object):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.connection.ops.check_aggregate_support(StdDevPop())
|
self.connection.ops.check_aggregate_support(StdDevPop())
|
||||||
except DatabaseError:
|
except NotImplementedError:
|
||||||
self.supports_stddev = False
|
self.supports_stddev = False
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue