Skip to content

Version upgrade? #6

@hvitis

Description

@hvitis

Hey I'm trying to use it with Django 2.1 and I get this:

\lib\site-packages\django_sorting_field\fields.py", line 4, in
from django.utils.text import force_text
ImportError: cannot import name 'force_text' from 'django.utils.text'

Needs to be changed to:
from django.utils.encoding import force_text

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