#24527: Using standalone templates gives confusing error message
-------------------------------------+-------------------------------------
     Reporter:  cjerdonek            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Uncategorized        |                  Version:  1.7
     Severity:  Normal               |               Resolution:
     Keywords:  templates,           |             Triage Stage:
  standalone                         |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by cjerdonek):

 Strictly speaking, it's possible you might not ''need'' to call
 `django.setup()`.  (I'm pretty sure I was able to get things workings by
 setting `TEMPLATE_LOADERS` only to use the file loader.)  However, once I
 started using `include` I started running into problems again (I believe
 because that causes `get_template()` to be called without the `dirs`
 argument.)

--
Ticket URL: <https://code.djangoproject.com/ticket/24527#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.f3f4cf047192dffb3214ec5a23031155%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to