@@ -55,14 +55,14 @@ class Select2Conf(AppConf):
55
55
It has set `select2_` as a default value, which you can change if needed.
56
56
"""
57
57
58
- JS = "admin/js/vendor/select2/select2.full.min.js"
58
+ JS = [ "admin/js/vendor/select2/select2.full.min.js" ]
59
59
"""
60
60
The URI for the Select2 JS file. By default this points to version shipped with Django.
61
61
62
62
If you want to select the version of the JS library used, or want to serve it from
63
63
the local 'static' resources, add a line to your settings.py like so::
64
64
65
- SELECT2_JS = 'assets/js/select2.min.js'
65
+ SELECT2_JS = [ 'assets/js/select2.min.js']
66
66
67
67
If you provide your own JS and would not like Django-Select2 to load any, change
68
68
this setting to a blank string like so::
@@ -73,14 +73,14 @@ class Select2Conf(AppConf):
73
73
develop without an Internet connection.
74
74
"""
75
75
76
- CSS = "admin/css/vendor/select2/select2.min.css"
76
+ CSS = [ "admin/css/vendor/select2/select2.min.css" ]
77
77
"""
78
78
The URI for the Select2 CSS file. By default this points to version shipped with Django.
79
79
80
80
If you want to select the version of the library used, or want to serve it from
81
81
the local 'static' resources, add a line to your settings.py like so::
82
82
83
- SELECT2_CSS = 'assets/css/select2.css'
83
+ SELECT2_CSS = [ 'assets/css/select2.css']
84
84
85
85
If you want to add more css (usually used in select2 themes), add a line
86
86
in settings.py like this::
0 commit comments