Fixed: Ensure proper ordering when loading JS (#45)
Fixed: Ensure proper ordering when loading JS (#45)

* Fixed: Ensure proper ordering when loading JS

Django 2.0 changed the way in which form media were loaded. (See: django/django@c19b56f and https://code.djangoproject.com/ticket/28377). This change meant that the Salmonella JS was loaded before jQuery.

This commit specifies the order in which the JS should load for this widget. Any duplicate entries will be filtered out.

* Fixed: missing import

lincolnloop/django-salmonella,lincolnloop/django-salmonella,lincolnloop/django-salmonella,lincolnloop/django-salmonella