Options dictionary for js plug-ins needs a tuple to be passed. passing a dictionary and/or sets results into an error
That is, this setting:
# To use external plugins,
# Include them within `css` and `js`.
'js': {
'/some_static_folder/summernote-ext-print.js',
'//somewhere_in_internet/summernote-plugin-name.js',
},
}
shows this error:
TypeError: can only concatenate tuple (not "set") to tuple
Solution
Therefore it should be changed into:
# To use external plugins,
# Include them within `css` and `js`.
'js': (
'/some_static_folder/summernote-ext-print.js',
'//somewhere_in_internet/summernote-plugin-name.js',
),
}
Problem
Options dictionary for js plug-ins needs a tuple to be passed. passing a dictionary and/or sets results into an error That is, this setting:
shows this error:
Solution
Therefore it should be changed into: