      return get_introspection_module().get_table_list(cursor)
  
  def installed_models(table_list):
      "Returns a set of all models that are installed, given a list of existing table names."
      from django.db import backend, models
      all_models = []
      for app in models.get_apps():
          for model in models.get_models(app):
              all_models.append(model)
      if backend.uses_case_insensitive_names:
 
</s> remove     if backend.uses_case_insensitive_names:
 </s> add     if connection.features.uses_case_insensitive_names: </s> remove         if backend.uses_case_insensitive_names:
 </s> add         if connection.features.uses_case_insensitive_names: </s> remove         needs_datetime_string_cast = backend.needs_datetime_string_cast
 </s> add         needs_datetime_string_cast = connection.features.needs_datetime_string_cast </s> remove             if backend.supports_constraints and model in references_to_delete:
 </s> add             if connection.features.supports_constraints and model in references_to_delete:
    from django.db import connection, models
      return get_introspection_module().get_table_list(cursor)
  
  def installed_models(table_list):
      "Returns a set of all models that are installed, given a list of existing table names."
    from django.db import connection, models
      all_models = []
      for app in models.get_apps():
          for model in models.get_models(app):
              all_models.append(model)
      if backend.uses_case_insensitive_names:
keep keep keep keep replace 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/core/management/sql.py