Commits

aiko1895 committed d1164db

fixing zero length field name in format

Comments (0)

Files changed (1)

cmsplugin_news/settings.py

     """
     A little helper for fetching global settings with a common prefix.
     """
-    parent_name = "CMSPLUGIN_NEWS_{}".format(name)
+    parent_name = "CMSPLUGIN_NEWS_{0}".format(name)
     return getattr(django_settings, parent_name, default)
 
 """