Opened 9 years ago

Closed 9 years ago

#1864 closed defect (fixed)

[patch] fix contenttype presentation

Reported by: ian@… Owned by: adrian
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: UI/UX:

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 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [2904].

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