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

RemovedInDjango40Warning: force_text() is deprecated in favor of force_str() #49

Closed
jshields opened this issue May 11, 2020 · 1 comment
Assignees

Comments

@jshields
Copy link

Currently a deprecation warning is raised, because force_text is due to be replaced by force_str.

venv/lib/python3.6/site-packages/picklefield/fields.py:19
  /home/********/project/venv/lib/python3.6/site-packages/picklefield/fields.py:198: RemovedInDjango40Warning: force_text() is deprecated in favor of force_str().
    value = force_text(dbsafe_encode(value, self.compress, self.protocol, self.copy))

https://github.com/gintas/django-picklefield/blob/master/picklefield/fields.py#L198

@charettes charettes self-assigned this Jun 5, 2020
@charettes
Copy link
Collaborator

Addressed by #52 which will be part of 3.0.

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

No branches or pull requests

2 participants