Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2139 closed defect (fixed)

[patch] change redicrct __repr__ to __str__

Reported by: md@… Owned by: adrian
Component: Contrib apps Version: master
Severity: minor Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

This patch changes the redirect model to provide str instead of repr to make redirects look nice again in the admin interface.
Get it at http://c0re.23.nu/c0de/misc/django-20060612-redirect-__str__.diff

--Maximillian Dornseif

Attachments (1)

django-20060612-redirect-__str__.diff (511 bytes) - added by md@… 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by md@…

comment:1 Changed 8 years ago by adrian

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

(In [3122]) Fixed #2139 -- Changed Redirect repr to str

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.