]> gitweb.fperrin.net Git - djsite.git/blobdiff - djsite/settings_common.py
Use django-ajax-selects for selecting tags and works
[djsite.git] / djsite / settings_common.py
index ca8bacd2f24a888b9bfb3402288cc20ff63803b5..358bfc0a3a97d319608b733f0c6e152a222d1b30 100644 (file)
@@ -33,6 +33,7 @@ INSTALLED_APPS = (
     'django.contrib.sessions',
     'django.contrib.messages',
     'django.contrib.staticfiles',
+    'ajax_select',
     'jquery',
     'tinymce',
     'quotes',
@@ -105,3 +106,9 @@ TINYMCE_DEFAULT_CONFIG = {
     'plugins': 'table',
     '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  = False