fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CC links to national pages
[wolnelektury.git]
/
apps
/
sponsors
/
fields.py
diff --git
a/apps/sponsors/fields.py
b/apps/sponsors/fields.py
index
c2098ec
..
ba98081
100644
(file)
--- 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)
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):