          return "ON %s" % self.quote_name(tablespace)
  
  class DatabaseWrapper(BaseDatabaseWrapper):
      ops = DatabaseOperations()
  
      def _cursor(self, settings):
          if self.connection is None:
              if settings.DATABASE_NAME == '' or settings.DATABASE_USER == '':
                  from django.core.exceptions import ImproperlyConfigured
 
</s> remove from django.db.backends import BaseDatabaseWrapper, BaseDatabaseOperations, util
 </s> add from django.db.backends import BaseDatabaseWrapper, BaseDatabaseFeatures, BaseDatabaseOperations, util
    features = DatabaseFeatures()
          return "ON %s" % self.quote_name(tablespace)
  
  class DatabaseWrapper(BaseDatabaseWrapper):
    features = DatabaseFeatures()
      ops = DatabaseOperations()
  
      def _cursor(self, settings):
          if self.connection is None:
              if settings.DATABASE_NAME == '' or settings.DATABASE_USER == '':
                  from django.core.exceptions import ImproperlyConfigured
keep keep add keep keep keep keep keep keep
 Implemented BaseDatabaseFeatures and changed all code to access it -- connection.features.foo instead of backend.foo

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5974 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/db/backends/ado_mssql/base.py