X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/67df302167539474edd02b57c2e8bd30349d7625..2910709b1c3b5e2b7d526323f8d8ed03b13895e5:/apps/sponsors/fields.py?ds=inline 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):