#36537: Generate unique IDs for the OSM layer mapwidget options `json_script`
tags
-------------------------------------+-------------------------------------
Reporter: Matthias | Owner: Matthias Kestenholz
Kestenholz |
Type: | Status: assigned
Cleanup/optimization |
Component: GIS | Version: 5.2
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The `application/json` script tag uses `id="mapwidget-options"` even when
used multiple times on the same page. This is invalid HTML, let's change
this to use unique IDs.
Refs https://github.com/django/django/pull/19566 and
https://code.djangoproject.com/ticket/25706
--
Ticket URL: <https://code.djangoproject.com/ticket/36537>
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/010701986594f66e-8be1fe73-1e59-4752-b09c-7dbf87dd5b39-000000%40eu-central-1.amazonses.com.