Opened 18 years ago
Closed 18 years ago
#1864 closed defect (fixed)
[patch] fix contenttype presentation
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
so it displays in templates properly
circe:/magik/django/contrib/contenttypes iholsman$ svn diff Index: models.py =================================================================== --- models.py (revision 2901) +++ models.py (working copy) @@ -31,7 +31,7 @@ ordering = ('name',) unique_together = (('app_label', 'model'),) - def __repr__(self): + def __str__(self): return self.name def model_class(self):
Note:
See TracTickets
for help on using tickets.
Fixed in [2904].