Django dependent smart-select not working properly
django smart-select not working properly

The first column is working but second column is not working , I added the scripts in the html page , but my problem not solved
I added this scripts
<script type="text/javascript" src="{% static 'smart-selects/admin/js/chainedfk.js' %}"></script>
<script type="text/javascript" src="{% static 'smart-selects/admin/js/chainedm2m.js' %}"></script>
<script type="text/javascript" src="{% static 'smart-selects/admin/js/bindfields.js' %}"></script>
in url I added
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('hospitalapp.urls')),
path(r'^chaining/', include('smart_selects.urls')),
]