X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=djsite%2Fsettings_common.py;h=fd342b873880654dd3e51fb1133a8eaa5762b9ee;hb=1c3a903d108505e5b7c2ec98257e30b1080b9c08;hp=bf7d3f79e0f97f9b610aa718c246226d691b0259;hpb=a842896b4da7101ab117838c7ee90be268dda85b;p=djsite.git diff --git a/djsite/settings_common.py b/djsite/settings_common.py index bf7d3f7..fd342b8 100644 --- a/djsite/settings_common.py +++ b/djsite/settings_common.py @@ -33,7 +33,9 @@ INSTALLED_APPS = ( 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'ajax_select', 'jquery', + 'jquery_ui', 'tinymce', 'quotes', ) @@ -103,5 +105,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