#33372: GISModelAdmin.gis_widget_kwargs cannot be used due to signature
mismatch.
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 4.0
Severity: Release | Keywords: gismodeladmin,
blocker | gis_widget_kwargs
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
This issue was raised in https://github.com/django/django/pull/15207.
The problem is that the `gis_widget_kwargs` attribute of
`GeoModelAdminMixin` is `**`-unpacked into `gis_widget` which is
`OSMWidget` by default.
`OSMWidget` and `BaseGeometryWidget` have `.__init__(self, attrs=None)`,
not `.__init__(self, **kwargs)`, so this is broken.
Marking as a release blocker as this is a bug in a new feature introduced
in 4.0.
--
Ticket URL: <https://code.djangoproject.com/ticket/33372>
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/050.c1051731acb0a1a5f5f132ed23982807%40djangoproject.com.