#24125: TemplateDetailView in admindocs requires a single Django templates
engine
-------------------------------------+-------------------------------------
Reporter: aaugustin | Owner: nobody
Type: Bug | Status: new
Component: | Version: master
contrib.admindocs |
Severity: Release | Keywords: multiple-template-
blocker | engines
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
`TemplateDetailView.get_context_data()` calls `Engine.get_default()` which
raises `ImproperlyConfigured` if zero or several Django templates engines
are configured.
This limitation should either be lifted or documented. Gracefully showing
an error message would already be better than failing with an uncaught
exception.
--
Ticket URL: <https://code.djangoproject.com/ticket/24125>
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/052.1c8ff4893f819cc5c6188bae27d01c1a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.