This commit is contained in:
Yohann D'ANELLO 2020-05-06 19:08:57 +02:00
parent 3128e236fb
commit 6f5b35c0d7
2 changed files with 1 additions and 3 deletions

View File

@ -12,7 +12,7 @@ DATABASES = {
}
# Break it, fix it!
DEBUG = False
DEBUG = True
# Mandatory !
ALLOWED_HOSTS = ['inscription.tfjm.org']

View File

@ -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