original_docstring: 
          Has this model been swapped out for another? If so, return the model
          name of the replacement; otherwise, return None.
  
          For historical reasons, model name lookups using get_model() are
          case insensitive, so we make sure we are case insensitive here.
  
          NOTE: Not sure this is actually usefull for documents. So at the
          moment it's really only here because the admin wants it. It might
          prove usefull for someone though, so it's more then just a dummy.
          
docstring: Has this model been swapped out for another. If so, return the model
  name of the replacement; otherwise, return None.
  
  For historical reasons, model name lookups using get_model() are
  case insensitive, so we make sure we are case insensitive here.
  
  Not sure this is actually usefull for documents. So at the
  moment it's really only here because the admin wants it. It might
  prove usefull for someone though, so it's more then just a dummy.
docstring_tokens: Has this model been swapped out for another . If so return the model name of the replacement ; otherwise return None . For historical reasons model name lookups using get_model () are case insensitive so we make sure we are case insensitive here . Not sure this is actually usefull for documents . So at the moment it ' s really only here because the admin wants it . It might prove usefull for someone though so it ' s more then just a dummy .
code: def swapped(self):
          """
          Has this model been swapped out for another? If so, return the model
          name of the replacement; otherwise, return None.
  
          For historical reasons, model name lookups using get_model() are
          case insensitive, so we make sure we are case insensitive here.
  
          NOTE: Not sure this is actually usefull for documents. So at the
          moment it's really only here because the admin wants it. It might
          prove usefull for someone though, so it's more then just a dummy.
          """
          if self._meta.get('swappable', False):
              model_label = '%s.%s' % (self.app_label, self.object_name.lower())
              swapped_for = getattr(settings, self.swappable, None)
              if swapped_for:
                  try:
                      swapped_label, swapped_object = swapped_for.split('.')
                  except ValueError:
                      # setting not in the format app_label.model_name
                      # raising ImproperlyConfigured here causes problems with
                      # test cleanup code - instead it is raised in
                      # get_user_model or as part of validation.
                      return swapped_for
  
                  if '%s.%s' % (swapped_label, swapped_object.lower()) \
                          not in (None, model_label):
                      return swapped_for
          return None
code_tokens: def swapped ( self ) : if self . _meta . get ( 'swappable' , False ) : model_label = '%s.%s' % ( self . app_label , self . object_name . lower ( ) ) swapped_for = getattr ( settings , self . swappable , None ) if swapped_for : try : swapped_label , swapped_object = swapped_for . split ( '.' ) except ValueError : return swapped_for if '%s.%s' % ( swapped_label , swapped_object . lower ( ) ) not in ( None , model_label ) : return swapped_for return None
short_docstring: Has this model been swapped out for another?
short_docstring_tokens: Has this model been swapped out for another?
comment: """
          Has this model been swapped out for another? If so, return the model
          name of the replacement; otherwise, return None.
  
          For historical reasons, model name lookups using get_model() are
          case insensitive, so we make sure we are case insensitive here.
  
          NOTE: Not sure this is actually usefull for documents. So at the
          moment it's really only here because the admin wants it. It might
          prove usefull for someone though, so it's more then just a dummy.
          """$SEP$# setting not in the format app_label.model_name$SEP$# raising ImproperlyConfigured here causes problems with$SEP$# test cleanup code - instead it is raised in$SEP$# get_user_model or as part of validation.