title: django autocomplete_fields doesn't work in TabularInline (but works in StackedInline)
body: <p>I'm trying to use autocomplete-fields in TabularInine</p>
  
  <p>Below my code : </p>
  
  <pre><code>class PersonInstitutionsInline(admin.TabularInline):
      autocomplete_fields = ['institution']
      model = PersonInstitution
      extra = 0
  </code></pre>
  
  <p>When rendering the dropdown is simply empty with no error (javacsript or python)</p>
  
  <p>If I use the same with StackedInline it works correctly</p>
  
  <p>While checking the templates, I'm suspecting that it has to with the fact that stacked.html uses  <code>{% include "admin/includes/fieldset.html" %}</code> but tabular.html uses <code>{{ field.field }}</code></p>
  
  <p>Also on another note, if I try to use django-autocomplete-light form in any inline</p>
  
  <pre><code>inlines.js:20 Uncaught TypeError: Cannot read property 'fn' of undefined
      at inlines.js:20
      at inlines.js:298
  </code></pre>
  
  <p>with in python the error</p>
  
  <pre><code>MediaOrderConflictWarning: Detected duplicate Media files in an opposite order:
  admin/js/autocomplete.js
  admin/js/admin/DateTimeShortcuts.js
    MediaOrderConflictWarning,
  </code></pre>
  
  <p>I'm using Django version 2.1.7</p>
  
  <p>Anyone had a similar issue or is there a fix for it ? </p>
  
  <p>Currently the workaround I'm using is StackedInline, and putting them all in the same fieldset...but i think there should be a better solution for it.</p>
  
  <p>Thanks</p>