PDF période formation
This commit is contained in:
parent
83cca59c7e
commit
96100f13c6
12 changed files with 410 additions and 367 deletions
|
|
@ -25,7 +25,7 @@ print(BASE_DIR)
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = ['eds.webzos.net', 'localhost']
|
||||
ALLOWED_HOSTS = ['eds.webzos.net', 'localhost', '127.0.0.1']
|
||||
|
||||
|
||||
# Application definition
|
||||
|
|
@ -37,6 +37,7 @@ INSTALLED_APPS = [
|
|||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'debug_toolbar',
|
||||
'chartjs',
|
||||
'tinymce',
|
||||
'cms',
|
||||
|
|
@ -51,6 +52,7 @@ MIDDLEWARE = [
|
|||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
'debug_toolbar.middleware.DebugToolbarMiddleware',
|
||||
]
|
||||
|
||||
ROOT_URLCONF = 'common.urls'
|
||||
|
|
@ -92,6 +94,22 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
]
|
||||
|
||||
|
||||
DEBUG_TOOLBAR_PANELS = [
|
||||
'debug_toolbar.panels.versions.VersionsPanel',
|
||||
'debug_toolbar.panels.timer.TimerPanel',
|
||||
'debug_toolbar.panels.settings.SettingsPanel',
|
||||
'debug_toolbar.panels.headers.HeadersPanel',
|
||||
'debug_toolbar.panels.request.RequestPanel',
|
||||
'debug_toolbar.panels.sql.SQLPanel',
|
||||
'debug_toolbar.panels.staticfiles.StaticFilesPanel',
|
||||
'debug_toolbar.panels.templates.TemplatesPanel',
|
||||
'debug_toolbar.panels.cache.CachePanel',
|
||||
'debug_toolbar.panels.signals.SignalsPanel',
|
||||
'debug_toolbar.panels.logging.LoggingPanel',
|
||||
'debug_toolbar.panels.redirects.RedirectsPanel',
|
||||
]
|
||||
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/1.10/topics/i18n/
|
||||
|
||||
|
|
@ -115,6 +133,7 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
|
|||
MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
|
||||
|
||||
"""
|
||||
STUDENT_IMPORT_MAPPING = {
|
||||
'Num élève': 'id_ext',
|
||||
'Nom élève': 'nom',
|
||||
|
|
@ -127,6 +146,7 @@ STUDENT_IMPORT_MAPPING = {
|
|||
'Date nais. élève': 'date_naissance',
|
||||
'Classe': 'klasse',
|
||||
}
|
||||
"""
|
||||
|
||||
DOMAINE_COULEURS = {
|
||||
'D1': '#fcaf3e',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue