It seems that the file names are munged by the fact that slugify(value), defined in utils.py, is called on the human name.
@property
def human_id(self): """Subclasses may override this provide a pretty ID which can be used
for bash completion.
"""
if self.NAME_ATTR in self.__dict__ and self.HUMAN_ID:
return utils.slugify(getattr(self, self.NAME_ATTR))
return None
It's not clear to me why it would be desirable slugify the human id if the intent is to use it for bash completion.
It seems that the file names are munged by the fact that slugify(value), defined in utils.py, is called on the human name.
@property
"""Subclasses may override this provide a pretty ID which can be used getattr( self, self.NAME_ATTR))
def human_id(self):
for bash completion.
"""
if self.NAME_ATTR in self.__dict__ and self.HUMAN_ID:
return utils.slugify(
return None
It's not clear to me why it would be desirable slugify the human id if the intent is to use it for bash completion.