Changes between Initial Version and Version 3 of Ticket #36028


Ignore:
Timestamp:
Dec 20, 2024, 2:36:54 AM (11 hours ago)
Author:
Foucauld Degeorges
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36028

    • Property Keywords template engine added
    • Property Summary Add option to choose a template engineAdd option to choose a specific template engine for Django Admin
    • Property Has patch set
  • Ticket #36028 – Description

    initial v3  
    55But we prefer for all our other renders (views, emails, PDFs) to be strict on invalid variables. So we want our strict template engine to be the default one, and specify a custom one for the admin.
    66
    7 The idea would be a Django admin setting named something like {{{ADMIN_TEMPLATE_ENGINE_NAME}}}, that sets the {{{using}}} argument of all {{{TemplateResponses}}} returned by admin views.
     7The idea would be an optional property on {{{AdminSite}}} named {{{template_engine}}}, that sets the {{{using}}} argument of all {{{TemplateResponses}}} returned by admin views.
Back to Top