From 4d5b00b874ea8a2b781fba7fcc4b55a023b68818 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 28 Oct 2010 02:59:22 +0000 Subject: [PATCH] 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 --- django/db/backends/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py index 54f5535853..2843e0d4c3 100644 --- a/django/db/backends/__init__.py +++ b/django/db/backends/__init__.py @@ -185,7 +185,7 @@ class BaseDatabaseFeatures(object): try: self.connection.ops.check_aggregate_support(StdDevPop()) - except DatabaseError: + except NotImplementedError: self.supports_stddev = False