return list of css links instead of generator

This commit is contained in:
Sergey Fursov 2015-05-05 15:59:16 +03:00
parent 5f9477b664
commit bfee65fc95

View file

@ -53,4 +53,4 @@ def get_select2_css_libs(light=False):
css_files = ('css/select2.min.css',)
else:
css_files = ('css/all.min.css',)
return (django_select2_static(f) for f in css_files)
return [django_select2_static(f) for f in css_files]