From e25ca891729fe92d7a6ff76c66b2169954e1fb13 Mon Sep 17 00:00:00 2001 From: Ivan Skvortsov Date: Tue, 15 Aug 2023 16:56:11 +0300 Subject: [PATCH] updated language code and time zone at settings --- config/settings.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/settings.py b/config/settings.py index c8197ad..61a8023 100644 --- a/config/settings.py +++ b/config/settings.py @@ -110,9 +110,9 @@ # Internationalization # https://docs.djangoproject.com/en/4.1/topics/i18n/ -LANGUAGE_CODE = "en-us" +LANGUAGE_CODE = "ru-RU" -TIME_ZONE = "UTC" +TIME_ZONE = "Europe/Moscow" USE_I18N = True @@ -122,6 +122,7 @@ # https://docs.djangoproject.com/en/4.1/howto/static-files/ STATIC_URL = "static/" +STATIC_ROOT = BASE_DIR / "static" MEDIA_URL = "media/" MEDIA_ROOT = BASE_DIR / "media"