2015-01-13 04:20:40 +08:00
|
|
|
class BaseDatabaseValidation(object):
|
|
|
|
"""
|
|
|
|
This class encapsulates all backend-specific model validation.
|
|
|
|
"""
|
|
|
|
def __init__(self, connection):
|
|
|
|
self.connection = connection
|
|
|
|
|
|
|
|
def check_field(self, field, **kwargs):
|
2015-01-18 03:58:09 +08:00
|
|
|
return []
|