1
0
mirror of https://github.com/django/django.git synced 2025-01-27 10:39:40 +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:
Russell Keith-Magee 2010-10-28 02:59:22 +00:00
parent 4c9741cba2
commit 4d5b00b874

View File

@ -185,7 +185,7 @@ class BaseDatabaseFeatures(object):
try:
self.connection.ops.check_aggregate_support(StdDevPop())
except DatabaseError:
except NotImplementedError:
self.supports_stddev = False