#17872: Sometime i need a Custom Widget to overrides default Widget on Admin
inlines.
-------------------------------+------------------------------
     Reporter:  Kidwind        |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  contrib.admin  |    Version:  SVN
     Severity:  Normal         |   Keywords:  InlineModelAdmin
 Triage Stage:  Unreviewed     |  Has patch:  1
Easy pickings:  0              |      UI/UX:  1
-------------------------------+------------------------------
 Sometime i need a Custom Widget to overrides default Widget on Admin
 inlines.

 formfield_overrides = {
         models.TextField: {'widget': MyCustomWidget},
 }

 and MyCustomWidget need some script to drive.
 now the "add another" not work well.
 so i provide the solution to the problem.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17872>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to