From d850f50e25105012aa89c20b8a45bd432ef35147 Mon Sep 17 00:00:00 2001 From: trevor Date: Mon, 23 Dec 2024 15:11:49 +0900 Subject: [PATCH] several FontAwesome icons changed. --- antifroud/check_fraud.py | 2 +- .../external_db_settings_change_form.html | 23 +-- bot/operations/statistics.py | 164 +++++++++++------- bot/utils/pdf_report.py | 161 ++++++++++++----- touchh/settings.py | 6 + touchh/urls.py | 3 +- touchh/utils/log.py | 5 +- 7 files changed, 244 insertions(+), 120 deletions(-) diff --git a/antifroud/check_fraud.py b/antifroud/check_fraud.py index 3e86e7e0..97df113e 100644 --- a/antifroud/check_fraud.py +++ b/antifroud/check_fraud.py @@ -5,7 +5,7 @@ from django.utils import timezone from django.db.models import Q from hotels.models import Reservation, Hotel from .models import UserActivityLog, ViolationLog - +from touchh.utils.log import CustomLogger # Настройка логирования logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) diff --git a/antifroud/templates/antifroud/admin/external_db_settings_change_form.html b/antifroud/templates/antifroud/admin/external_db_settings_change_form.html index 1adfb17d..cba4fd0e 100644 --- a/antifroud/templates/antifroud/admin/external_db_settings_change_form.html +++ b/antifroud/templates/antifroud/admin/external_db_settings_change_form.html @@ -4,7 +4,7 @@