From f36151ed169813f2873e13ca9de616cfa4095321 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Sat, 22 Nov 2014 14:30:14 -0700 Subject: Fixed #23892 -- Made deconstructible classes forwards compatible --- django/contrib/postgres/validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/contrib/postgres/validators.py') diff --git a/django/contrib/postgres/validators.py b/django/contrib/postgres/validators.py index 19d0a69765..22ac10074f 100644 --- a/django/contrib/postgres/validators.py +++ b/django/contrib/postgres/validators.py @@ -30,7 +30,7 @@ class KeysValidator(object): } strict = False - def __init__(self, keys, strict=False, messages=None): + def __init__(self, keys, strict=False, messages=None, **kwargs): self.keys = set(keys) self.strict = strict if messages is not None: -- cgit v1.2.1