#25791: Implement autoreload behaviour for cached template loader
-------------------------------------+-------------------------------------
     Reporter:  Jaap Roes            |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Template system      |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  autoreload           |             Triage Stage:  Accepted
  templates cached loader            |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tom Forbes):

 * cc: Tom Forbes (added)


Comment:

 With my work on #27685 this should be easy to do. I've implemented a
 generic `autoreload_started` and `file_changed` signal, and the i18n
 package uses this to reset it's translation cache when a `.mo` file
 changes. We could implement similar logic here to call `reset()` on the
 cached loader when a template changes?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/25791#comment:8>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.ec0c111b71d753a90d6e9ab8f0f2effb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to