Opened 7 years ago

Closed 4 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@…> 7 years ago.

Download all attachments as: .zip

Change History (4)

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

comment:1 in reply to: ↑ description Changed 7 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 5 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 4 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.

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