Skip to content

SubfieldBase has been deprecated. Use Field.from_db_value #2

Open
@ojengwa

Description

We need to update this module for future Django release to fix this warning:

RemovedInDjango110Warning: SubfieldBase has been deprecated. Use Field.from_db_value instead.
  class JSONField(six.with_metaclass(models.SubfieldBase, models.Field)):

I will send in a PR.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions