old_contents: import django.conf
  
  
  class AppSettings(django.conf.BaseSettings):
      """
      A holder for app-specific default settings that allows overriding via
      the project's settings.
      """
  
      def __getattribute__(self, attr):
          if attr == attr.upper():
              try:
                  return getattr(django.conf.django_settings, attr)
              except AttributeError:
                  pass
          return super(AppSettings, self).__getattribute__(attr)
  
  
  class Settings(AppSettings):
      COUNTRIES_FLAG_STATIC = 'flags/{code}.png'
      """
      The relative static file location to find flags.
  
      The location is parsed using Python's string formatting and is passed the
      following arguments:
  
          * code
          * code_upper
  
      For example: ``COUNTRIES_FLAG_STATIC = 'flags/16x10/{code_upper}.png'``
      """
  
      COUNTRIES_OVERRIDE = {}
      """
      A dictionary of names to override the defaults.
  
      Note that you will need to handle translation of customised country names.
  
      Setting a country's name to ``None`` will exclude it from the country list.
      For example::
  
          COUNTRIES_OVERRIDE = {
              'NZ': _('Middle Earth'),
              'AU': None
          }
      """
  
  
  settings = Settings()
  
new_contents: import django.conf
  
  
  class AppSettings(django.conf.BaseSettings):
      """
      A holder for app-specific default settings that allows overriding via
      the project's settings.
      """
  
      def __getattribute__(self, attr):
          if attr == attr.upper():
              try:
                  return getattr(django.conf.settings, attr)
              except AttributeError:
                  pass
          return super(AppSettings, self).__getattribute__(attr)
  
  
  class Settings(AppSettings):
      COUNTRIES_FLAG_STATIC = 'flags/{code}.gif'
      """
      The relative static file location to find flags.
  
      The location is parsed using Python's string formatting and is passed the
      following arguments:
  
          * code
          * code_upper
  
      For example: ``COUNTRIES_FLAG_STATIC = 'flags/16x10/{code_upper}.png'``
      """
  
      COUNTRIES_OVERRIDE = {}
      """
      A dictionary of names to override the defaults.
  
      Note that you will need to handle translation of customised country names.
  
      Setting a country's name to ``None`` will exclude it from the country list.
      For example::
  
          COUNTRIES_OVERRIDE = {
              'NZ': _('Middle Earth'),
              'AU': None
          }
      """
  
  
  settings = Settings()
  
subject: Fix conf settings module