From 88ce2b9495abd92a6eed7e82ea8c6d45fc7b6898 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Sun, 8 Dec 2019 13:07:02 +0100 Subject: [PATCH] updated to django 3 --- cookbook/templates/base.html | 2 +- recipes/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/templates/base.html b/cookbook/templates/base.html index fe7a20bb3..973333211 100644 --- a/cookbook/templates/base.html +++ b/cookbook/templates/base.html @@ -1,4 +1,4 @@ -{% load staticfiles %} +{% load static %} {% load i18n %} diff --git a/recipes/settings.py b/recipes/settings.py index 44d2cf760..4ba8e717b 100644 --- a/recipes/settings.py +++ b/recipes/settings.py @@ -119,7 +119,7 @@ AUTH_PASSWORD_VALIDATORS = [ # Internationalization # https://docs.djangoproject.com/en/2.0/topics/i18n/ -LANGUAGE_CODE = 'DE-de' +LANGUAGE_CODE = 'de' TIME_ZONE = 'Europe/Berlin'