From b4e4a2f9d07e2d9302e5d89b5bb4c22466688cfb Mon Sep 17 00:00:00 2001 From: zorn Date: Sat, 1 Feb 2025 16:06:39 +1000 Subject: [PATCH] fraud_check cmd --- antifroud/management/commands/fraud_check.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 antifroud/management/commands/fraud_check.py diff --git a/antifroud/management/commands/fraud_check.py b/antifroud/management/commands/fraud_check.py new file mode 100644 index 00000000..58e82d2a --- /dev/null +++ b/antifroud/management/commands/fraud_check.py @@ -0,0 +1,8 @@ +from django.core.management.base import BaseCommand +from antifroud.check_fraud import run_reservation_check + +class Command(BaseCommand): + help = "Запуск проверки на несоответствия" + + def handle(self, *args, **options): + run_reservation_check()