summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/validators.py
diff options
context:
space:
mode:
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: