X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c5d9a4e77a10b4e60d89d3890e49002bd7f3993..70e2bb823a0c5792580a7ad60bef9d3f33978439:/apps/sponsors/fields.py diff --git a/apps/sponsors/fields.py b/apps/sponsors/fields.py index c2098ec97..ba980816f 100644 --- a/apps/sponsors/fields.py +++ b/apps/sponsors/fields.py @@ -47,7 +47,7 @@ class JSONField(models.TextField): defaults.update(kwargs) return super(JSONField, self).formfield(**defaults) - def db_type(self): + def db_type(self, connection): return 'text' def get_internal_type(self):