original_docstring: 
          Set the slug field (autoslug_field) value from its set source
          (autoslug_populate_from) if the slug field has no value.
          
docstring: Set the slug field (autoslug_field) value from its set source
  (autoslug_populate_from) if the slug field has no value.
docstring_tokens: Set the slug field ( autoslug_field ) value from its set source ( autoslug_populate_from ) if the slug field has no value .
code: def hydrate_slug(self):
          """
          Set the slug field (autoslug_field) value from its set source
          (autoslug_populate_from) if the slug field has no value.
          """
          existing = getattr(self, self.autoslug_field)
          if existing and len(existing) > 0:
              return
  
          source = self._autoslug_source_value()
          if source:
              # Replace ampersand before slugify removes it:
              # e.g. 'Dungeons & Dragons' -> 'dungeons-and-dragons'
              source = source.replace('&', 'and')
              setattr(self, self.autoslug_field, self._slugify(source))
code_tokens: def hydrate_slug ( self ) : existing = getattr ( self , self . autoslug_field ) if existing and len ( existing ) > 0 : return source = self . _autoslug_source_value ( ) if source : source = source . replace ( '&' , 'and' ) setattr ( self , self . autoslug_field , self . _slugify ( source ) )
short_docstring: Set the slug field (autoslug_field) value from its set source
  (autoslug_populate_from) if the slug field has no value.
short_docstring_tokens: Set the slug field ( autoslug_field ) value from its set source ( autoslug_populate_from ) if the slug field has no value .
comment: """
          Set the slug field (autoslug_field) value from its set source
          (autoslug_populate_from) if the slug field has no value.
          """$SEP$# Replace ampersand before slugify removes it:$SEP$# e.g. 'Dungeons & Dragons' -> 'dungeons-and-dragons'