Skip to content

Use django-jsonfield to enable postgresql jsonb support #22

Description

@modulitos

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions