#33830: Variable lookup errors are logged rendering 'clearable_file_input.html'
---------------------------------+------------------------------------
Reporter: Horst Schneider | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 4.0
Severity: Normal | Resolution:
Keywords: admin, template | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Comment (by Horst Schneider):
Replying to [comment:5 Carlton Gibson]:
> @Horst could you investigate setting a default (`False`) for disabled in
ClearableFileInput for this case?
Setting it both to `True` or `False` explicitly in the `attrs` does not
trigger the `VariableDoesNotExist` exception to be logged. Only the
absence of the `disabled` attribute on the `attrs` altogether triggers it.
--
Ticket URL: <https://code.djangoproject.com/ticket/33830#comment:6>
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/01070181d8318dd7-35552674-bccd-4b91-819f-d0b08fe85236-000000%40eu-central-1.amazonses.com.