Opened 17 years ago

Closed 17 years ago

#5410 closed (fixed)

RequestSite needs __unicode__ method

Reported by: bos Owned by: nobody
Component: contrib.syndication Version: dev
Severity: 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

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 (1)

unicode-RequestSite.patch (472 bytes ) - added by bos 17 years ago.
add unicode method

Download all attachments as: .zip

Change History (3)

by bos, 17 years ago

Attachment: unicode-RequestSite.patch added

add unicode method

comment:1 by anonymous, 17 years ago

Has patch: set

comment:2 by Adrian Holovaty, 17 years ago

Resolution: fixed
Status: newclosed

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

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