Opened 9 years ago

Closed 9 years ago

#5410 closed (fixed)

RequestSite needs __unicode__ method

Reported by: bos Owned by: nobody
Component: contrib.syndication Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


In django/contrib/sites/, 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 9 years ago.
add unicode method

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by bos

Attachment: unicode-RequestSite.patch added

add unicode method

comment:1 Changed 9 years ago by anonymous

Has patch: set

comment:2 Changed 9 years ago by Adrian Holovaty

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