Django

Code

Ticket #5410 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

RequestSite needs __unicode__ method

Reported by: bos Assigned to: nobody
Milestone: Component: RSS framework
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

In django/contrib/sites/models.py, the Site class has a unicode method, but RequestSite? doesn't. This causes the default rendering of feeds in a non-multisite install to include a glob of default Python object rendering instead of a URL.

Attachments

unicode-RequestSite.patch (472 bytes) - added by bos on 09/12/07 14:33:55.
add unicode method

Change History

09/12/07 14:33:55 changed by bos

  • attachment unicode-RequestSite.patch added.

add unicode method

09/12/07 14:34:16 changed by anonymous

  • has_patch set to 1.

09/13/07 09:40:08 changed by adrian

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

(In [6125]) Fixed #5410 -- Added a unicode() method to RequestSite?. Thanks, bos


Add/Change #5410 (RequestSite needs __unicode__ method)




Change Properties
Action