what is the purpose of defining a __str__ function in django models.py code example Example: __str__ in django def __str__(self): return self.name