code: def get_option(self, option):
          
          value = getattr(self, option, None)
          if value is not None:
              return value
          return getattr(settings, "COUNTRIES_{0}".format(option.upper()))
docs: Get a configuration option, trying the options attribute first and
          falling back to a Django project setting.