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

Replace force_text with force_str #173

Merged
merged 1 commit into from
Oct 2, 2019
Merged

Replace force_text with force_str #173

merged 1 commit into from
Oct 2, 2019

Conversation

jannh
Copy link

@jannh jannh commented Sep 10, 2019

Since Django 2.0, force_text and force_str are aliases. They are different only for python2, which is not supported anymore with Django 2.0 and later. force_text is deprecated with Django 3.0. Since bootstrap4 only supports Django 2.1 and later (and therefore only python3), force_text can be replaced by force_str with no issues to avoid deprecation warnings with Django 3.0

aliases and force_text is deprecated with Django 3.0
@jannh jannh changed the title Replace force_text with force_strx Replace force_text with force_str Sep 10, 2019
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 89.15% when pulling 0362158 on jannh:master into eacd773 on zostera:master.

@jieter
Copy link
Member

jieter commented Oct 2, 2019

@jannh looks good, thanks!

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.

3 participants