@@ -55,32 +55,32 @@ class Select2Conf(AppConf):
5555 It has set `select2_` as a default value, which you can change if needed.
5656 """
5757
58- JS = "admin/js/vendor/select2/select2.full.min.js"
58+ JS = [ "admin/js/vendor/select2/select2.full.min.js" ]
5959 """
6060 The URI for the Select2 JS file. By default this points to version shipped with Django.
6161
6262 If you want to select the version of the JS library used, or want to serve it from
6363 the local 'static' resources, add a line to your settings.py like so::
6464
65- SELECT2_JS = 'assets/js/select2.min.js'
65+ SELECT2_JS = [ 'assets/js/select2.min.js']
6666
6767 If you provide your own JS and would not like Django-Select2 to load any, change
6868 this setting to a blank string like so::
6969
70- SELECT2_JS = ''
70+ SELECT2_JS = []
7171
7272 .. tip:: Change this setting to a local asset in your development environment to
7373 develop without an Internet connection.
7474 """
7575
76- CSS = "admin/css/vendor/select2/select2.min.css"
76+ CSS = [ "admin/css/vendor/select2/select2.min.css" ]
7777 """
7878 The URI for the Select2 CSS file. By default this points to version shipped with Django.
7979
8080 If you want to select the version of the library used, or want to serve it from
8181 the local 'static' resources, add a line to your settings.py like so::
8282
83- SELECT2_CSS = 'assets/css/select2.css'
83+ SELECT2_CSS = [ 'assets/css/select2.css']
8484
8585 If you want to add more css (usually used in select2 themes), add a line
8686 in settings.py like this::
@@ -93,7 +93,7 @@ class Select2Conf(AppConf):
9393 If you provide your own CSS and would not like Django-Select2 to load any, change
9494 this setting to a blank string like so::
9595
96- SELECT2_CSS = ''
96+ SELECT2_CSS = []
9797
9898 .. tip:: Change this setting to a local asset in your development environment to
9999 develop without an Internet connection.
0 commit comments