Code

Opened 6 years ago

Closed 3 years ago

#7189 closed (fixed)

context_processors in direct_to_template

Reported by: Marat Radchenko <slonopotamusorama@…> Owned by: nobody
Component: Generic views Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Attached patch adds support (and documentation) of context_processors to direct_to_template generic view.

Attachments (1)

context_processors_in_direct_to_template.diff (1.7 KB) - added by Marat Radchenko <slonopotamusorama@…> 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Marat Radchenko <slonopotamusorama@…>

comment:1 in reply to: ↑ description Changed 6 years ago by Nico

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Replying to Marat Radchenko <slonopotamusorama@gmail.com>:

Attached patch adds support (and documentation) of context_processors to direct_to_template generic view.

comment:2 Changed 4 years ago by mk

  • Triage Stage changed from Accepted to Ready for checkin

The list_detail generic views support a context_processors argument too. The argument to generic views isn't tested either there.

comment:3 Changed 3 years ago by russellm

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

Function-based generic views were deprecated by the introduction of class-based views in [14254]. Class-based views should solve this problem.

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.