diff --git a/cms/views.py b/cms/views.py index c442cd9..3efdb49 100644 --- a/cms/views.py +++ b/cms/views.py @@ -137,7 +137,7 @@ def print_periode_formation(request): def get_context(context): """ - Retrive periods + Retrive periods """ liste = Module.objects.exclude(periode_presentiel=0) # context['tot'] = liste.aggregate(Sum(F('periode_presentiel'))) diff --git a/common/settings.py b/common/settings.py index 8a5d104..2c7ea50 100644 --- a/common/settings.py +++ b/common/settings.py @@ -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', '127.0.0.1'] +ALLOWED_HOSTS = ['eds.webzos.net', 'eds.webzos.ch', 'localhost', '127.0.0.1'] # Application definition @@ -37,8 +37,6 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', - 'debug_toolbar', - 'chartjs', 'tinymce', 'cms', ] @@ -52,7 +50,6 @@ MIDDLEWARE = [ 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', - 'debug_toolbar.middleware.DebugToolbarMiddleware', ] ROOT_URLCONF = 'common.urls' @@ -94,22 +91,6 @@ 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/ diff --git a/media/media/EPC_bandeau_A4V_c_aa.png b/media/media/EPC_bandeau_A4V_c_aa.png deleted file mode 100644 index ff0460d..0000000 Binary files a/media/media/EPC_bandeau_A4V_c_aa.png and /dev/null differ