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

Fix ImportError: cannot import name 'JSONField' from 'social_django.fields' when JSONFIELD_CUSTOM is set #502

Merged
merged 1 commit into from
Sep 6, 2023

Commits on Sep 6, 2023

  1. Update fields.py

    When setting JSONFIELD_CUSTOM the logic was importing under the wrong name with `Base` suffix raising `Import Error` as the module ended up having no `JSONField` to be imported.
    
    Looks like due toa  recent change the JSONFieldBase` is no more needed.
    rochacbruno authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    6c5dfbe View commit details
    Browse the repository at this point in the history