Skip to content

Commit 36ce23d

Browse files
committed
Remove jquery from media files in NestedInlineAdmin since they are already included by django
The extra conflicts also happen to be conflicting with django-autocomplete-light
1 parent ddcb603 commit 36ce23d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nested_inline/admin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ class NestedInline(InlineModelAdmin):
354354
@property
355355
def media(self):
356356
extra = '' if settings.DEBUG else '.min'
357-
js = ['jquery%s.js' % extra, 'jquery.init.js', 'inlines-nested%s.js' % extra]
357+
js = ['inlines-nested%s.js' % extra]
358358
if self.prepopulated_fields:
359359
js.extend(['urlify.js', 'prepopulate%s.js' % extra])
360360
if self.filter_vertical or self.filter_horizontal:

0 commit comments

Comments
 (0)