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

Use django-jsonfield to enable postgresql jsonb support #22

Open
modulitos opened this issue Oct 29, 2015 · 0 comments
Open

Use django-jsonfield to enable postgresql jsonb support #22

modulitos opened this issue Oct 29, 2015 · 0 comments

Comments

@modulitos
Copy link

There is a json field for django models that will be supported in Django 1.9, which uses the jsonb feature introduced in postgresql 9.4.

Using Django's json field to replace the data field of ModelWithDataBlob will improve capability in terms of how you query into a json field, while also providing more complex lookups and expressions. This would be a great improvement of the current model's model.TextField.

Perhaps this can be considered a meta task, which would first require an upgrade to Django 1.9.

I have already tested the current Django 1.7 app with Postgresql 9.4 and PostGIS 2.1, so upgrading postgresql should not be an issue.

I won't have time to help with this right away - and Django 1.9 is still under development. But this looks like a very useful feature!

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

No branches or pull requests

1 participant