#15693: Support broken for custom widgets in inlines Jquery based Add new <model
type>
--------------------------------------+-------------------------------
Reporter: brillgen | Owner: nobody
Type: Bug | Status: reopened
Milestone: | Component: contrib.admin
Version: 1.2 | Severity: Normal
Resolution: | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
--------------------------------------+-------------------------------
Changes (by brillgen):
* status: closed => reopened
* resolution: needsinfo =>
* easy: => 0
Comment:
I'll work on extracting the code so that it can be presented here but I
think the issue has been described pretty clearly to someone familiar with
the Admin and/or its internals.
This got broken in Django 1.1/1.2 when the new functionality of adding
inlines on-the-fly with javascript was introduced.
We have a custom widget we use to populate FK fields which works perfectly
well with the Django Admin inlines when they have been created by the
'extra' parameter in the admin.
The widget does not work because its javascript event is not mapped to the
new inline that has been created with javascript.
The bug is that the javascript add new inline functionality should support
custom widgets as well...if it does, it's not obvious and not documented
(AFAIK).
--
Ticket URL: <http://code.djangoproject.com/ticket/15693#comment:4>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.