Opened 4 years ago

Closed 3 years ago

#20037 closed Bug (invalid)

Django-admin inlines javascript tabularFormset -> formset

Reported by: hkmartinb1993@… Owned by: nobody
Component: contrib.admin Version: 1.5
Severity: Normal Keywords: JS, tabularFormset, formset
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: yes


Django-admin , if inlines are used, produce an inline script for each inline item,
like the one below;

But the function '$.tabularFormset()' is no more defined anywhere.
It's now known as '$.formset()'

So django-admin view should be updated to use '$.formset()' instead of '$.tabularFormset'

<script type="text/javascript">
(function($) {
$("#proxyresource_set-group .tabular.inline-related tbody tr").tabularFormset({
prefix: "proxyresource_set",
adminStaticPrefix: '/static/admin/',
addText: "Add another item",
deleteText: "Elimina"

Change History (3)

comment:1 Changed 4 years ago by hkmartinb1993@…

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

comment:2 Changed 3 years ago by fiolorlando@…

Resolution: invalid
Status: closednew

comment:3 Changed 3 years ago by fiolorlando@…

Resolution: invalid
Status: newclosed

My bad. I had the olds (1.4) inline.min.js and inline.js in my staticdirs so the new ones don't got collected.

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