Opened 19 years ago

Closed 19 years ago

#1864 closed defect (fixed)

[patch] fix contenttype presentation

Reported by: ian@… 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):

Change History (1)

comment:1 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

Fixed in [2904].

Note: See TracTickets for help on using tickets.
Back to Top