Opened 7 years ago

Closed 7 years ago

#29436 closed Cleanup/optimization (needsinfo)

admin change_form.html in prepopulated_fields_js template tag always call second time every empty_form in inline_admin_formset

Reported by: Maxim Danilov Owned by: nobody
Component: contrib.admin Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Tim Graham)

admin change_form.html in prepopulated_fields_js template tag always call every empty_form in inline_admin_formset,
thats take too much time, while every empty_form make __init__ the second time.
The first time empty_form make __init__ for formset.render in template.

Change History (2)

comment:1 by Maxim Danilov, 7 years ago

Summary: admin change_form.html in prepopulated_fields_js template tag always call secont time every empty_form in inline_admin_formsetadmin change_form.html in prepopulated_fields_js template tag always call second time every empty_form in inline_admin_formset

comment:2 by Tim Graham, 7 years ago

Description: modified (diff)
Resolution: needsinfo
Status: newclosed

It's difficult for me to understand your report. Can you propose a patch? That would help clarify, I think.

Note: See TracTickets for help on using tickets.
Back to Top