add exceptional_values check in datetime validation
@@ -141,6 +141,7 @@ class DatetimeStringField(FieldBase):
def __init__(self, exceptional_values: Iterable[str]=[], **kwargs):
super().__init__(**kwargs)
+ if exceptional_values is not None:
self._exceptional_values = exceptional_values
def _specific_validation(self, val):
