On transforme shared en application

This commit is contained in:
Tom Hubrecht 2021-05-29 09:11:19 +02:00
parent 6abfd035d7
commit 4ce811ae5d
2 changed files with 2 additions and 1 deletions

View file

@ -53,6 +53,7 @@ INSTALLED_APPS = [
"django.contrib.sessions", "django.contrib.sessions",
"django.contrib.messages", "django.contrib.messages",
"kadenios.apps.IgnoreSrcStaticFilesConfig", "kadenios.apps.IgnoreSrcStaticFilesConfig",
"shared",
"elections", "elections",
"authens", "authens",
] ]
@ -73,7 +74,7 @@ ROOT_URLCONF = "kadenios.urls"
TEMPLATES = [ TEMPLATES = [
{ {
"BACKEND": "django.template.backends.django.DjangoTemplates", "BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [BASE_DIR + "/shared/templates"], "DIRS": [],
"APP_DIRS": True, "APP_DIRS": True,
"OPTIONS": { "OPTIONS": {
"context_processors": [ "context_processors": [

0
shared/__init__.py Normal file
View file