Skip to content

Commit

Permalink
add jquery.init.js as depencendy
Browse files Browse the repository at this point in the history
  • Loading branch information
silentbugs committed Jun 14, 2023
1 parent 1d63a2e commit 05a9a37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nested_inline/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ class Media:
css = {
"all": ('admin/css/forms-nested.css',)
}
js = ('admin/js/inlines-nested%s.js' % ('' if settings.DEBUG else '.min'),)
js = (
'admin/js/jquery.init.js',
'admin/js/inlines-nested%s.js' % ('' if settings.DEBUG else '.min'),
)

def save_formset(self, request, form, formset, change):
"""
Expand Down

0 comments on commit 05a9a37

Please sign in to comment.