#33819: Add shortcut for rendering multiple templates.
-------------------------------------+-------------------------------------
     Reporter:  Thomas De Bonnet     |                    Owner:  Thomas De
                                     |  Bonnet
         Type:  New feature          |                   Status:  closed
    Component:  Template system      |                  Version:  4.0
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  HTMX, render,        |             Triage Stage:
  template                           |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Adam Johnson):

 I already rejected the feature idea from django-htmx:
 https://github.com/adamchainz/django-htmx/pull/240 . I said it's "really a
 feature request for django's template engine", but mostly because I didn't
 see the motivation. I still don't.

 Why not just make a template that uses multiple `{% include %}` tags? IMO
 this keeps the separation between view and template aligned with Django’s
 M-V-T model.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33819#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070181c341d4ed-5731eb28-992e-4725-a43d-55e4e9f19ecf-000000%40eu-central-1.amazonses.com.

Reply via email to