#13068: The "Add another [inline object]" javascript doesn't respect
prepopulated_fields settings
----------------------------------+-----------------------------------------
Reporter: hejsan | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version: 1.2-beta
Keywords: | Stage: Unreviewed
Has_patch: 0 |
----------------------------------+-----------------------------------------
If I have an inline form with a prepopulated field, i.e:
[[BR]]
{{{
class SomethingInline(admin.TabularInline):
model = Something
prepopulated_fields = {'title_slug': ('title',)}
extra = 2
}}}
Then the extra inlines added by the new javascript dont automatically
populate the title_slug field when entering a title.
BTW: The alternating row colors also dissappear for me in firefox when I
click "Add another.."
--
Ticket URL: <http://code.djangoproject.com/ticket/13068>
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.