#37048: Backwards incompatible change to InclusionAdminNode
----------------------------+-------------------------------------------
Reporter: Anže Pečar | Type: Bug
Status: new | Component: Template system
Version: dev | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+-------------------------------------------
#36728 introduced a backwards incompatible change to the
`InclusionAdminNode`: https://github.com/django/django/pull/20086/changes
#diff-f60f94cb07bce796697e9d0357602fd6675a9891eaa57b8bd4cb70ae4ee3dda4R14
Instantiating `InclusionAdminNode()` without the name argument causes a
crash. Example of usage from the django-unfold 3rd party library:
https://github.com/unfoldadmin/django-
unfold/blob/main/src/unfold/templatetags/unfold_list.py#L409-L414
From what I can tell the name argument is only used in the error message
so maybe we can make it optional?
--
Ticket URL: <https://code.djangoproject.com/ticket/37048>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019da09b2b58-6cb4db62-6f8f-4e5e-a196-9333c9cc7ddb-000000%40eu-central-1.amazonses.com.