Opened 17 years ago
Closed 17 years ago
#6629 closed (duplicate)
change_view does not hand over instance parameter to ModelForm
Description ¶
when overwriting form_add and form_change to use a custom ModelForm for a model in admin interface, the change_form is not properly filled with the existing object data. reason is the missing instance-parameter when instantiating the ModelForm inside django.contrib.admin.options.change_view
see patch for details.
Change History (2)
by , 17 years ago
Attachment: | options.diff added |
---|
comment:1 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This is a subset of the changes in #6241.
Note:
See TracTickets
for help on using tickets.
Patch for django/contrib/admin/options.py