]> gitweb.fperrin.net Git - djsite.git/blobdiff - djsite/settings_common.py
Try new multilinks approach
[djsite.git] / djsite / settings_common.py
index bf7d3f79e0f97f9b610aa718c246226d691b0259..6474c2b24cf9a56bc2024830e46f03cf815b8a3a 100644 (file)
@@ -33,9 +33,13 @@ INSTALLED_APPS = (
     'django.contrib.sessions',
     'django.contrib.messages',
     'django.contrib.staticfiles',
+    'ajax_select',
     'jquery',
+#    'jquery_ui',
+    'formtools',
     'tinymce',
     'quotes',
+    'quotes_beta',
 )
 
 MIDDLEWARE_CLASSES = (
@@ -103,5 +107,11 @@ TINYMCE_DEFAULT_CONFIG = {
     'theme_advanced_buttons2' : '',
     'theme_advanced_buttons3' : "",
     'plugins': 'table',
-    'valid_elements': 'a|b|strong|u|i|em|ul|ol|li|p|br'
+    'valid_elements': 'a[href],b,strong,u,i,em,ul,ol,li,p,br'
 }
+
+# If jQuery or jQuery.ui are not already loaded on the page, then
+# these will be loaded from CDN.
+# If you want to prevent this and load your own then set AJAX_SELECT_BOOTSTRAP
+
+AJAX_SELECT_BOOTSTRAP  = True