fraud_check cmd
This commit is contained in:
8
antifroud/management/commands/fraud_check.py
Normal file
8
antifroud/management/commands/fraud_check.py
Normal file
@@ -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()
|
||||||
Reference in New Issue
Block a user