Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for JSONField #19

Merged
merged 6 commits into from
Jan 26, 2022
Merged

Conversation

aymaneMx
Copy link
Contributor

Screenshot 2022-01-21 at 01 21 02

What does this do?

  • add support for JSONField
  • drop python2 support

Why did you do this?

for Django version below 3.1, JSONField is imported from django.contrib.postgres.fields
else from django.db.models

to solve that I used the handy jsonfield package which support Django versions > 2.2
but it doesn't support python<3.6

so I dropped python2 support

closes: #15

README.md Outdated Show resolved Hide resolved
tests/test_models.py Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
@aymaneMx aymaneMx requested a review from fabiocaccamo January 26, 2022 02:55
requirements.txt Outdated Show resolved Hide resolved
@aymaneMx aymaneMx requested a review from fabiocaccamo January 26, 2022 15:41
@fabiocaccamo fabiocaccamo merged commit 5e79b84 into fabiocaccamo:master Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add json data type support.
2 participants