8000 Remove usage of deprecated functions not supported in Django 4.0 by jackton1 · Pull Request #66 · 5monkeys/django-enumfield · GitHub
[go: up one dir, main page]

Skip to content

Remove usage of deprecated functions not supported in Django 4.0 #66

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

Closed
wants to merge 1 commit into from

Conversation

jackton1
Copy link
@jackton1 jackton1 commented Dec 17, 2021

This resolves usage of deprecated functions that have been removed in Django 4.0

packages/django_enumfield/db/fields.py", line 8, in <module>
71
    from django.utils.encoding import force_text
72
ImportError: cannot import name 'force_text' from 'django.utils.encoding' (

@Swamii

This resolves usage of deprecated functions that have been removed in Django 4.0

```
packages/django_enumfield/db/fields.py", line 8, in <module>
71
    from django.utils.encoding import force_text
72
ImportError: cannot import name 'force_text' from 'django.utils.encoding' (
```
@Swamii
Copy link
Contributor
Swamii commented Jan 3, 2022

@jackton1 Thanks for the PR 🙏. I think this is part of a larger update that's needed. If you have time perhaps you can remove all unsupported Python versions (3.6 and below) and all unsupported Django versions (2.1 and below) from tox. If not then I will prepare a PR when I have time. Seems like we need to migrate Github actions as well 😅.

@Swamii
Copy link
Contributor
Swamii commented Apr 1, 2022

@jackton1 Maybe master works with 4.0 now after #69 and #70?

@jackton1
Copy link
Author
jackton1 commented Apr 1, 2022

Yes it should I’ll update to the latest version and double check. Thanks

@jackton1 jackton1 closed this Apr 1, 2022
@jackton1 jackton1 deleted the patch-1 branch April 1, 2022 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0