Commits

Ahmad Khayyat committed c3d6eea

Add JQUERY_UI_FILENAME setting and corresponding docs

Comments (0)

Files changed (2)

docs/settings.rst

 
 Default: ``'jquery-1.7.1.min.js'``
 
+``JQUERY_UI_FILENAME``
+-------------------
+
+Name of the jQuery UI file found in mezzanine/core/static/mezzanine/js/
+
+Default: ``'jquery-ui-1.9.1.custom.min.js'``
+
 ``MAX_PAGING_LINKS``
 --------------------
 
 
 If ``True``, the south application will be automatically added to the ``INSTALLED_APPS`` setting.
 
-Default: ``True``
+Default: ``True``

mezzanine/core/defaults.py

 )
 
 register_setting(
+    name="JQUERY_UI_FILENAME",
+    label=_("Name of the jQuery UI file."),
+    description=_("Name of the jQuery UI file found in "
+                  "mezzanine/core/static/mezzanine/js/"),
+    editable=False,
+    default="jquery-ui-1.9.1.custom.min.js",
+)
+
+register_setting(
     name="MAX_PAGING_LINKS",
     label=_("Max paging links"),
     description=_("Max number of paging links to display when paginating."),