X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/67df302167539474edd02b57c2e8bd30349d7625..709f6968bdd9cc4ed73f64efb50d2b0e97e2dfc5:/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):