#25061: Default template loader wrong in docs OR default loader not working
properly
-------------------------------------+-------------------------------------
     Reporter:  mlissner             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Template system      |                  Version:  1.8
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  loader, templates,   |             Triage Stage:
  defaults                           |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by carljm):

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


Comment:

 As best I can figure out, OP is either referring to what you linked, or to
 the mention of "the default value of TEMPLATE_LOADERS" in
 https://docs.djangoproject.com/en/1.8/ref/templates/upgrading/#the-
 templates-settings

 Both of those are referring to the default value of `TEMPLATE_LOADERS`
 pre-1.8. The default value of `['OPTIONS']['loaders']` for Django Template
 Language in 1.8 is more complex; it only includes the `app_directories`
 loader if you set `APP_DIRS: True`, as documented in the TEMPLATES setting
 docs: https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-
 TEMPLATES

 I would assume the OP isn't setting `APP_DIRS: True`. It defaults to
 `False`, though the startproject default settings file sets it to `True`.

 But it sounds like OP also has a polluted installation of 1.8 which is
 somehow still using an old project template. Django 1.8 startproject
 template definitely uses `TEMPLATES`, not `TEMPLATE_*`.

--
Ticket URL: <https://code.djangoproject.com/ticket/25061#comment:2>
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/066.2aa8f55ae57b8b79d2c2e3d9a931d44d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to