Ticket #6417: models.py.diff

File models.py.diff, 519 bytes (added by Adrian <aribao@…>, 17 years ago)
  • django/contrib/contenttypes/models.py

     
    4444        unique_together = (('app_label', 'model'),)
    4545
    4646    def __unicode__(self):
    47         return self.name
     47        return ('%s - %s') % ( self.app_label, self.name )
    4848
    4949    def model_class(self):
    5050        "Returns the Python model class for this type of content."
Back to Top