Code

Opened 8 years ago

Closed 5 years ago

#2912 closed enhancement (fixed)

django.contrib.syndication.feeds.py:Feed store the HttpRequest so it can be accessed

Reported by: freyther@… Owned by: nobody
Component: contrib.syndication Version:
Severity: normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

It would be nice if Feed.get_object could take a look at the HttpRequest (request) as well as the bits are not enough in my case.

Attachments (1)

pass_http_request.patch (1.4 KB) - added by freyther@… 8 years ago.
[patch] Safe the HttpRequest in Feed as self.request so it can be accessed by subclasses

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by freyther@…

[patch] Safe the HttpRequest in Feed as self.request so it can be accessed by subclasses

comment:1 Changed 7 years ago by adrian

  • Component changed from Admin interface to RSS framework

comment:2 Changed 7 years ago by Simon G. <dev@…>

  • Has patch set
  • Triage Stage changed from Unreviewed to Design decision needed

comment:3 Changed 6 years ago by jacob

  • Triage Stage changed from Design decision needed to Accepted

comment:4 Changed 6 years ago by mrts

  • milestone set to 1.0 maybe

comment:5 Changed 6 years ago by jacob

  • milestone changed from 1.0 maybe to post-1.0

comment:6 Changed 5 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

comment:7 Changed 5 years ago by dc

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

Fixed in [5654]

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.