CC links to national pages
[wolnelektury.git] / apps / sponsors / fields.py
index c2098ec..ba98081 100644 (file)
@@ -47,7 +47,7 @@ class JSONField(models.TextField):
         defaults.update(kwargs)
         return super(JSONField, self).formfield(**defaults)
 
         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):
         return 'text'
 
     def get_internal_type(self):