#29436: admin change_form.html in prepopulated_fields_js template tag always
call
second time every empty_form in inline_admin_formset
-------------------------------------+-------------------------------------
Reporter: danilovmy | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: contrib.admin | Version: 2.0
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* status: new => closed
* resolution: => needsinfo
Old description:
> 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.
New description:
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.
--
Comment:
It's difficult for me to understand your report. Can you propose a patch?
That would help clarify, I think.
--
Ticket URL: <https://code.djangoproject.com/ticket/29436#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.2daadfc1eba01134a79b128d5b2cf2a1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.