Ticket #6417: models.py.diff
File models.py.diff, 519 bytes (added by , 17 years ago) |
---|
-
django/contrib/contenttypes/models.py
44 44 unique_together = (('app_label', 'model'),) 45 45 46 46 def __unicode__(self): 47 return self.name47 return ('%s - %s') % ( self.app_label, self.name ) 48 48 49 49 def model_class(self): 50 50 "Returns the Python model class for this type of content."