Commits

Fabian Topfstedt  committed 7622029

Renamed setting TAGGIT_CSS_FILENAME to TAGGIT_AUTOSUGGEST_CSS_FILENAME

  • Participants
  • Parent commits 6bf877c

Comments (0)

Files changed (2)

     TAGGIT_AUTOSUGGEST_MAX_SUGGESTIONS (Defaults to 20): 
         The amount of suggestions is limited, you can raise or lower the limit
         of default 20 using this setting.
-    TAGGIT_CSS_FILENAME (Defaults to 'autoSuggest.css'):
+    TAGGIT_AUTOSUGGEST_CSS_FILENAME (Defaults to 'autoSuggest.css'):
         Set the CSS file which best fits your site elements.
 	The CSS file have to be in 'jquery-autosuggest/css/'.
 	

File taggit_autosuggest/widgets.py

         return result_html + widget_html + mark_safe(js)
     
     class Media:
-        css_filename = getattr(settings, 'TAGGIT_CSS_FILENAME', 'autoSuggest.css')
+        css_filename = getattr(settings, 'TAGGIT_AUTOSUGGEST_CSS_FILENAME',
+            'autoSuggest.css')
         js_base_url = getattr(settings, 'TAGGIT_AUTOSUGGEST_STATIC_BASE_URL',
             '%sjquery-autosuggest' % settings.STATIC_URL)
         css = {