mirror of
https://github.com/Hopiu/django.git
synced 2026-05-05 14:14:43 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ class BaseDatabaseFeatures(object):
|
|||
|
||||
try:
|
||||
self.connection.ops.check_aggregate_support(StdDevPop())
|
||||
except DatabaseError:
|
||||
except NotImplementedError:
|
||||
self.supports_stddev = False
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue