#31915: Allow load template tag before extends tag
---------------------------------+--------------------------------------
     Reporter:  Jann Haber       |                    Owner:  nobody
         Type:  New feature      |                   Status:  closed
    Component:  Template system  |                  Version:  master
     Severity:  Normal           |               Resolution:  wontfix
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Changes (by Carlton Gibson):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 I didn't test but you should be able to set the `builtins` option in your
 DTL settings
 
https://docs.djangoproject.com/en/3.1/topics/templates/#django.template.backends.django.DjangoTemplates

 Failing that, you'd need to move the `is_ajax` logic into your view.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31915#comment:1>
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/063.8c34c6353f22ea5784d199a74f11ddfe%40djangoproject.com.

Reply via email to