first commit
This commit is contained in:
4
core/apps/tickets/validators/__init__.py
Normal file
4
core/apps/tickets/validators/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from .extra_services import * # noqa
|
||||
from .hotel import * # noqa
|
||||
from .tariff import * # noqa
|
||||
from .tickets import * # noqa
|
||||
15
core/apps/tickets/validators/extra_services.py
Normal file
15
core/apps/tickets/validators/extra_services.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# from django.core.exceptions import ValidationError
|
||||
|
||||
|
||||
class ExtraServicesValidator:
|
||||
def __init__(self): ...
|
||||
|
||||
def __call__(self):
|
||||
return True
|
||||
|
||||
|
||||
class PaidServicesValidator:
|
||||
def __init__(self): ...
|
||||
|
||||
def __call__(self):
|
||||
return True
|
||||
8
core/apps/tickets/validators/hotel.py
Normal file
8
core/apps/tickets/validators/hotel.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# from django.core.exceptions import ValidationError
|
||||
|
||||
|
||||
class HotelValidator:
|
||||
def __init__(self): ...
|
||||
|
||||
def __call__(self):
|
||||
return True
|
||||
8
core/apps/tickets/validators/tariff.py
Normal file
8
core/apps/tickets/validators/tariff.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# from django.core.exceptions import ValidationError
|
||||
|
||||
|
||||
class TariffValidator:
|
||||
def __init__(self): ...
|
||||
|
||||
def __call__(self):
|
||||
return True
|
||||
15
core/apps/tickets/validators/tickets.py
Normal file
15
core/apps/tickets/validators/tickets.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# from django.core.exceptions import ValidationError
|
||||
|
||||
|
||||
class TicketsValidator:
|
||||
def __init__(self): ...
|
||||
|
||||
def __call__(self):
|
||||
return True
|
||||
|
||||
|
||||
class TicketorderValidator:
|
||||
def __init__(self): ...
|
||||
|
||||
def __call__(self):
|
||||
return True
|
||||
Reference in New Issue
Block a user