diff --git a/playhouse/postgres_ext.py b/playhouse/postgres_ext.py index 0bb974229..f2cdf590d 100644 --- a/playhouse/postgres_ext.py +++ b/playhouse/postgres_ext.py @@ -299,8 +299,6 @@ class JSONField(Field): _json_datatype = 'json' def __init__(self, dumps=None, *args, **kwargs): - if Json is None: - raise Exception('Your version of psycopg2 does not support JSON.') self.dumps = dumps or json.dumps super(JSONField, self).__init__(*args, **kwargs)