#32364: ModelAdmin.formfield_overrides drops TEMPLATES...DIRS while loading a
custom widget template within a std admin form template
-------------------------------------+-------------------------------------
Reporter: zoltan-ky | Owner: nobody
Type: Uncategorized | Status: closed
Component: Template system | Version: 3.1
Severity: Normal | Resolution:
| worksforme
Keywords: formfield_overrides | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by zoltan-ky):
* needs_docs: 0 => 1
* resolution: invalid => worksforme
Comment:
My apologies. I should have posted on the support channel first and will
do so in the future.
There is no mention of this need at
https://docs.djangoproject.com/en/3.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_overrides
and is the example I followed
Maybe that part of the admin documentation should be updated to avoid the
trap.
--
Ticket URL: <https://code.djangoproject.com/ticket/32364#comment:2>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.b25064a0613cc6c0875ec0141d92b1ef%40djangoproject.com.