JSONfield compatability
See original GitHub issueThis package is currently importing JSONfield
from either django-jsonfield
+ django-jsonfield-compat
or django_mysql
, however the django-jsonfield
/django-jsonfield-compat
combination only supports up to django 1.9.
I can make a PR for importing from the current preferred location, django.contrib.postgres.fields
, but I just need to know if you’d also want to continue support for django =< 1.9 and therefore allow import from the existing packages.
I am not a mysql user, but it appears no change is needed there, and importing from django_mysql
is still the preferred method.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:15 (6 by maintainers)
Top Results From Across the Web
jsonfield - PyPI
Compatibility. django-jsonfield supports Python 2.7-Python 3.3 and Django 1.4+. Why doesn't it support Python 2.6? You actually might be OK if you don't...
Read more >kbussell/django-jsonfield-compat - GitHub
Compatibility layer for django-jsonfield and Django's native JSONField - GitHub - kbussell/django-jsonfield-compat: Compatibility layer for django-jsonfield ...
Read more >how to write a query to get find value in a json field in django
If you have an older version of Django, or you are using the Django JSONField library for compatibility with MySQL or something similar,...
Read more >JSONField db_type `jsonb`==>`json` for sequential data no ...
JSONField in Django3.0.6 allows overriding db_type jsonb to json , which allows preserving ... for storing sequential data breaks backwards compatibility ...
Read more >Django 3.1 release notes — Django 4.1.4 documentation
JSONField that can be used on all supported database backends. ... in order to allow compatibility with the older versions of Django.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@cb109 When I try to use django-activity-stream with Django 3.0, I got error below
Note: both django-jsonfield and django-jsonfield-compat already installed.
When I dig into error, I see invalid import statement of six in this link.
from django.utils import six
after I replaced this line with
import six
then Django 3.0 started working.Switch from all the different libraries to Django built-in JSONField or the backported package has been merged.