From 6f5b35c0d76cd24db039b440b6fe030105ecbabb Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 6 May 2020 19:08:57 +0200 Subject: [PATCH] Hotfix --- tfjm/settings_prod.py | 2 +- tfjm/urls.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tfjm/settings_prod.py b/tfjm/settings_prod.py index f934739..ec921ee 100644 --- a/tfjm/settings_prod.py +++ b/tfjm/settings_prod.py @@ -12,7 +12,7 @@ DATABASES = { } # Break it, fix it! -DEBUG = False +DEBUG = True # Mandatory ! ALLOWED_HOSTS = ['inscription.tfjm.org'] diff --git a/tfjm/urls.py b/tfjm/urls.py index f863d96..e072fb0 100644 --- a/tfjm/urls.py +++ b/tfjm/urls.py @@ -13,9 +13,7 @@ Including another URLconf 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ -import re -from django.conf import settings from django.contrib import admin from django.contrib.staticfiles.views import serve from django.urls import path, include, re_path