#25094: Jinja2 backend requires settings to be configured
---------------------------------+----------------------------------
     Reporter:  jaap3            |      Owner:  nobody
         Type:  Uncategorized    |     Status:  new
    Component:  Template system  |    Version:  master
     Severity:  Normal           |   Keywords:  jinja2 cache backend
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+----------------------------------
 Importing the Jinja2 backend without configuring settings raises:

 {{{ django.core.exceptions.ImproperlyConfigured: Requested setting CACHES,
 but settings are not configured. You must either define the environment
 variable DJANGO_SETTINGS_MODULE or call settings.configure() before
 accessing settings. }}}.

 As far I can tell the Jinja2 backend doesn't need a cache backend to be
 configured.

--
Ticket URL: <https://code.djangoproject.com/ticket/25094>
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/048.dff60e3bab125d257ab7aa384b0e174e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to