#27130: Cannot use Django Templates in Standalone Mode
---------------------------------+------------------------------------
     Reporter:  AlJohri          |                    Owner:  nobody
         Type:  Bug              |                   Status:  closed
    Component:  Template system  |                  Version:  1.10
     Severity:  Normal           |               Resolution:  invalid
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by aaugustin):

 * stage:  Unreviewed => Accepted


Comment:

 Actually it would be nice -- if it's possible -- for the template engine
 to be usable, albeit with limited functionality, outside of a Django
 project, more precisely without having to configure global Django
 settings.

 The cache, i18n, etc. features wouldn't work because they need
 configuration provided by Django settings. That's an expected limitation
 of this feature and it could be documented.

 The biggest problem I can see is that we have no good way to test this,
 this Django's tests run with configured settings.

 Optimistically accepting this requirement, because I think it's a sane
 design principle, but without guarantees that it can be met.

 This ticket is mostly a matter of figuring out and documenting what can
 work and what can't work without settings.

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

Reply via email to