From 44234b7852ac3d79faed0970208011b9aa36b010 Mon Sep 17 00:00:00 2001 From: pilot <657434@03b.ru> Date: Sun, 31 May 2026 14:47:43 +0800 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D1=82=D0=B0=D1=82=D0=B8=D1=87?= =?UTF-8?q?=D0=B5=D1=81=D0=BA=D0=BE=D0=B3=D0=BE=20=D0=BF=D1=83=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- restoran_max_bot/restoran_max_bot/settings.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/restoran_max_bot/restoran_max_bot/settings.py b/restoran_max_bot/restoran_max_bot/settings.py index 6181338..9b47512 100644 --- a/restoran_max_bot/restoran_max_bot/settings.py +++ b/restoran_max_bot/restoran_max_bot/settings.py @@ -1,3 +1,4 @@ +import os.path from pathlib import Path from environ import environ @@ -117,9 +118,7 @@ USE_TZ = True STATIC_URL = 'static/' # Дополнительные директории для поиска статических файлов -STATICFILES_DIRS = [ - BASE_DIR / 'static', # основная папка со статикой -] +STATICFILES_DIRS = (os.path.join(BASE_DIR, "static")) # Default primary key field type # https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field