BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
-
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
+ 'ajax_select',
'jquery',
'tinymce',
'quotes',
# Internationalization
# https://docs.djangoproject.com/en/1.8/topics/i18n/
-LANGUAGE_CODE = 'en-us'
+LANGUAGE_CODE = 'en-GB'
TIME_ZONE = 'Europe/London'
USE_TZ = True
+# DATE_INPUT_FORMATS = [
+# "%d/%m/%Y", # 12/11/2016 for 12th Nov 2016
+# "%Y-%m-%d", # 2016-11-12 for 12th Nov 2016
+# ]
+
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.8/howto/static-files/
# STATIC_URL overridden in settings-{dev,prod}.py
'theme_advanced_buttons2' : '',
'theme_advanced_buttons3' : "",
'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