No need to vendor the tinymce JS files
This commit is contained in:
parent
0b6d9e8bb7
commit
0f6655bbff
257 changed files with 5 additions and 44765 deletions
|
|
@ -1,15 +1,5 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
# Django settings for histone project.
|
||||
"""
|
||||
Django settings for eds project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django 1.10.4.
|
||||
|
||||
For more information on this file, see
|
||||
https://docs.djangoproject.com/en/1.10/topics/settings/
|
||||
|
||||
For the full list of settings and their values, see
|
||||
https://docs.djangoproject.com/en/1.10/ref/settings/
|
||||
"""
|
||||
|
||||
import os
|
||||
|
|
@ -17,14 +7,10 @@ import os
|
|||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
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.10/howto/deployment/checklist/
|
||||
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = ['eds.webzos.net', 'localhost']
|
||||
ALLOWED_HOSTS = ['eds.webzos.net', 'eds.pierre-coullery.ch', 'localhost']
|
||||
|
||||
|
||||
# Application definition
|
||||
|
|
@ -93,7 +79,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/1.10/topics/i18n/
|
||||
|
||||
LANGUAGE_CODE = 'fr-fr'
|
||||
LANGUAGE_CODE = 'fr'
|
||||
|
||||
TIME_ZONE = 'Europe/Zurich'
|
||||
|
||||
|
|
@ -108,10 +94,10 @@ USE_TZ = True
|
|||
# https://docs.djangoproject.com/en/1.10/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
||||
|
||||
MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
|
||||
DOMAINE_COULEURS = {
|
||||
'D1': '#fcaf3e',
|
||||
|
|
@ -124,8 +110,6 @@ DOMAINE_COULEURS = {
|
|||
'D8': '#babdb6'
|
||||
}
|
||||
|
||||
TINYMCE_JS_URL = STATIC_URL + 'js/tiny_mce/tiny_mce.js'
|
||||
TINYMCE_JS_ROOT = STATIC_ROOT + 'js/tiny_mce'
|
||||
TINYMCE_DEFAULT_CONFIG = {
|
||||
'plugins': "table,spellchecker,paste,searchreplace",
|
||||
'theme': "advanced",
|
||||
|
|
@ -140,4 +124,4 @@ TINYMCE_COMPRESSOR = True
|
|||
PDF_FOOTER_TEXT = 'Ecole Santé-social Pierre-Coullery | Prévoyance 82 - 2300 La Chaux-de-Fonds | 032 886 33 00 | cifom-epc@rpn.ch'
|
||||
|
||||
|
||||
from .local_settings import *
|
||||
from .local_settings import *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue