Opened 8 years ago

Closed 8 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:

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 8 years ago.
add unicode method

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by bos

add unicode method

comment:1 Changed 8 years ago by anonymous

  • Has patch set

comment:2 Changed 8 years ago by adrian

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

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

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