Skip to content

It dosent work with django >= 4 Error: cannot import name 'force_text' from 'django.utils.encoding #3

@BahirHakimy

Description

@BahirHakimy

In django 4.0 there is no force_text instead there is force_str please update the line 25 of file backend.py from from django.utils.encoding import force_text to from django.utils.encoding import force_str

Metadata

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