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()