You can use "Blame" button at 
https://github.com/django/django/blob/master/django/template/engine.py to 
find the commit for the line in question:

https://github.com/django/django/commit/277fe2e8f2ee35cd389b079ce7691491bb5738ec

That includes documentation updates as well as a mention in the 1.11 
release notes.

On Monday, May 22, 2017 at 2:34:28 PM UTC-4, Иван Федосеев wrote:
>
> Hell, I spent 2 hours to understand why, when debug = False I have cached 
> templates!!!??!
>
> I have not found in documentation any mention that NEW! features
>
> class Engine(object):
>
>
> if loaders is None:
>     loaders = ['django.template.loaders.filesystem.Loader']
>     if app_dirs:
>         loaders += ['django.template.loaders.app_directories.Loader']
>     if not debug: # 
> !?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?v
>         loaders = [('django.template.loaders.cached.Loader', loaders)] 
> #!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?
>
>
> What is this nonsense?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/46ddabc8-8ad5-4261-aaa1-5335bcfd151e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to