summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/validators.py
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2014-11-22 14:30:14 -0700
committerCarl Meyer <carl@oddbird.net>2014-11-22 14:30:14 -0700
commitf36151ed169813f2873e13ca9de616cfa4095321 (patch)
tree9b82013744fc9036a802d5aa7d2dce1c36e673bb /django/contrib/postgres/validators.py
parenta9cced7aecfb7c49fe0f84c33b86744bba8f58b5 (diff)
downloaddjango-f36151ed169813f2873e13ca9de616cfa4095321.tar.gz
Fixed #23892 -- Made deconstructible classes forwards compatible
Diffstat (limited to 'django/contrib/postgres/validators.py')
-rw-r--r--django/contrib/postgres/validators.py2
1 files changed, 1 insertions, 1 deletions
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: