  
  import django
  from django.conf import global_settings
  from django.core.exceptions import ImproperlyConfigured
  from django.utils.deprecation import (
      RemovedInDjango30Warning, RemovedInDjango31Warning,
  )
  from django.utils.functional import LazyObject, empty
  
  ENVIRONMENT_VARIABLE = "DJANGO_SETTINGS_MODULE"
  
  DEFAULT_CONTENT_TYPE_DEPRECATED_MSG = 'The DEFAULT_CONTENT_TYPE setting is deprecated.'
 
</s> remove DEFAULT_CONTENT_TYPE_DEPRECATED_MSG = 'The DEFAULT_CONTENT_TYPE setting is deprecated.'
 </s> add  </s> remove     @property
    def DEFAULT_CONTENT_TYPE(self):
        stack = traceback.extract_stack()
        # Show a warning if the setting is used outside of Django.
        # Stack index: -1 this line, -2 the caller.
        filename, _line_number, _function_name, _text = stack[-2]
        if not filename.startswith(os.path.dirname(django.__file__)):
            warnings.warn(
                DEFAULT_CONTENT_TYPE_DEPRECATED_MSG,
                RemovedInDjango30Warning,
                stacklevel=2,
            )
        return self.__getattr__('DEFAULT_CONTENT_TYPE')

 </s> add  </s> remove             content_type = '%s; charset=%s' % (settings.DEFAULT_CONTENT_TYPE,
                                               self.charset)
 </s> add             content_type = 'text/html; charset=%s' % self.charset </s> remove         if self.get('Content-Type', '').startswith(settings.DEFAULT_CONTENT_TYPE):
 </s> add         if self.get('Content-Type', '').startswith('text/html'): </s> remove # Default content type and charset to use for all HttpResponse objects, if a
# MIME type isn't manually specified. These are used to construct the
# Content-Type header.
DEFAULT_CONTENT_TYPE = 'text/html'
 </s> add # Default charset to use for all HttpResponse objects, if a MIME type isn't
# manually specified. It's used to construct the Content-Type header.
from django.utils.deprecation import RemovedInDjango31Warning
  
  import django
  from django.conf import global_settings
  from django.core.exceptions import ImproperlyConfigured
from django.utils.deprecation import RemovedInDjango31Warning
from django.utils.deprecation import RemovedInDjango31Warning
from django.utils.deprecation import RemovedInDjango31Warning
  from django.utils.functional import LazyObject, empty
  
  ENVIRONMENT_VARIABLE = "DJANGO_SETTINGS_MODULE"
  
  DEFAULT_CONTENT_TYPE_DEPRECATED_MSG = 'The DEFAULT_CONTENT_TYPE setting is deprecated.'
keep keep keep keep replace replace replace keep keep keep keep keep
 Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline. 
django/conf/__init__.py