30 lines
446 B
Python
30 lines
446 B
Python
# from django.core.exceptions import ValidationError
|
|
|
|
|
|
class PostValidator:
|
|
def __init__(self): ...
|
|
|
|
def __call__(self):
|
|
return True
|
|
|
|
|
|
class TagValidator:
|
|
def __init__(self): ...
|
|
|
|
def __call__(self):
|
|
return True
|
|
|
|
|
|
class CategoryValidator:
|
|
def __init__(self): ...
|
|
|
|
def __call__(self):
|
|
return True
|
|
|
|
|
|
class PostimagesValidator:
|
|
def __init__(self): ...
|
|
|
|
def __call__(self):
|
|
return True
|