#32063: windowname_to_id function missing from RelatedObjectLookup.js
-----------------------------------------+------------------------
Reporter: kyashford | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 3.1
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 |
-----------------------------------------+------------------------
I am using the django-dynamic-raw-id in my project which calls the
windowname_to_id function that user to be in RelatedObjectLookup.js for in
the js/admin folder. After upgrading to Django 3.1.1 the windowname_to_id
function is no longer there. Was this removed on purpose and I should see
other solutions?
function windowname_to_id(text) {
text = text.replace(/__dot__/g, '.');
text = text.replace(/__dash__/g, '-');
return text;
}
--
Ticket URL: <https://code.djangoproject.com/ticket/32063>
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/052.71eb517978929cc85b5f927269b23ae8%40djangoproject.com.