Opened 5 weeks ago

Closed 4 weeks 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: danilovmy 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 Changed 5 weeks ago by danilovmy

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 Changed 4 weeks ago by Tim Graham

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