Django

Code

Ticket #2139 (closed: fixed)

Opened 4 years ago

Last modified 4 years ago

[patch] change redicrct __repr__ to __str__

Reported by: md@hudora.de Assigned to: adrian
Milestone: Component: Contrib apps
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

django-20060612-redirect-__str__.diff (511 bytes) - added by md@hudora.de on 06/11/06 23:59:32.

Change History

06/11/06 23:59:32 changed by md@hudora.de

  • attachment django-20060612-redirect-__str__.diff added.

06/12/06 11:20:06 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #2139 ([patch] change redicrct __repr__ to __str__)




Change Properties
Action