djdb/models.py
def pretty_name(self):
        """Returns a slightly prettier version of an artist's name."""
        if self.name.endswith(", The"):
            return "The " + self.name[:-5]
        return self.name
Returns a slightly prettier version of an artist's name.
Returns a slightly prettier version of an artist's name.
Returns a slightly prettier version of an artist ' s name .
def pretty_name(self):
        if self.name.endswith(", The"):
            return "The " + self.name[:-5]
        return self.name
def pretty_name ( self ) : if self . name . endswith ( ", The" ) : return "The " + self . name [ : - 5 ] return self . name
Returns a slightly prettier version of an artist's name.
Returns a slightly prettier version of an artist ' s name .
"""Returns a slightly prettier version of an artist's name."""
self