django1/django/db/backends/base/validation.py

13 lines
301 B
Python
Raw Normal View History

class BaseDatabaseValidation(object):
"""
This class encapsulates all backend-specific validation.
"""
def __init__(self, connection):
self.connection = connection
def check(self, **kwargs):
return []
def check_field(self, field, **kwargs):
return []