Project

General

Profile

Development #7592

Add a CBV mixin to support multiple template names

Added by Benjamin Dauvergne over 4 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
17 Jun 2015
Due date:
% Done:

100%

Patch proposed:
No
Planning:
No

Description

Default TemplateView only support one template name in the template_name field but the method get_template_names() which read it can return many. This new mixin return the value of the field template_names if found.

Associated revisions

Revision 671fff82 (diff)
Added by Benjamin Dauvergne over 4 years ago

cbv: add a TemplateNamesMixin to allow multiple template names (fixes #7592)

History

#1 Updated by Benjamin Dauvergne over 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Nouveau to Résolu (à déployer)

#2 Updated by Benjamin Dauvergne almost 4 years ago

  • Status changed from Résolu (à déployer) to Solution déployée

#3 Updated by Benjamin Dauvergne about 2 years ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF