1. Installation¶
Install
django-smart-selects
using a tool likepip
:$ pip install django-smart-selects
Add
smart_selects
to yourINSTALLED_APPS
Add the
smart_selects
urls into your project’surls.py
. This is needed for theChained Selects
andChained ManyToMany Selects
. For example:urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^chaining/', include('smart_selects.urls')), )
You will also need to include jQuery in every page that includes a field from
smart_selects
, or setJQUERY_URL = True
in your project’ssettings.py
.