X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=djsite%2Fsettings.py;h=de13f1a9b5e431a222cbc56a4d42407275b99409;hb=243bb33aafac5c80b4404e5917fe54bfec6fa73f;hp=fcfa6fc08b33ad9c9ceb422e1ec42693d09732ab;hpb=520d42a5ab1c027611f5ab18d8387f643f383203;p=djsite.git diff --git a/djsite/settings.py b/djsite/settings.py index fcfa6fc..de13f1a 100644 --- a/djsite/settings.py +++ b/djsite/settings.py @@ -37,6 +37,9 @@ INSTALLED_APPS = ( 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'jquery', + 'tinymce', + 'quotes', ) MIDDLEWARE_CLASSES = ( @@ -87,7 +90,7 @@ DATABASES = { LANGUAGE_CODE = 'en-us' -TIME_ZONE = 'UTC' +TIME_ZONE = 'Europe/London' USE_I18N = True @@ -95,8 +98,15 @@ USE_L10N = True USE_TZ = True - # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.8/howto/static-files/ STATIC_URL = '/static/' + +TINYMCE_DEFAULT_CONFIG = { +# 'theme_advanced_buttons1' : ['bold', 'underline', 'italic', 'separator', 'insertdate', 'inserttime'], + 'theme_advanced_buttons1' : 'undo,redo,cut,copy,paste,|,bold,italic,removeformat,|,bullist,numlist,|,link,unlink', + 'theme_advanced_buttons2' : '', + 'theme_advanced_buttons3' : "", + 'plugins': 'table', +}