Ticket #18334: django-ticket18334.diff

File django-ticket18334.diff, 600 bytes (added by Michael Manfre, 13 years ago)
  • django/db/backends/__init__.py

    diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
    index 2762350..cd7df73 100644
    a b class BaseDatabaseFeatures(object):  
    439439
    440440        try:
    441441            self.connection.ops.check_aggregate_support(StdDevPop())
     442            has_support = True
    442443        except NotImplementedError:
    443             self.supports_stddev = False
     444            has_support = False
     445        return has_support
    444446
    445447    def _can_introspect_foreign_keys(self):
    446448        "Confirm support for introspected foreign keys"
Back to Top