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

Python 3.0 support #300

Closed
quantum5 opened this issue Oct 15, 2015 · 2 comments
Closed

Python 3.0 support #300

quantum5 opened this issue Oct 15, 2015 · 2 comments
Labels

Comments

@quantum5
Copy link
Member

Django 2.x series will no longer support Python 2.x.

@quantum5
Copy link
Member Author

The first Python 3 only version of Django comes out in December 2017, and the last version to support Python 2 will be unsupported after April 2020. While this is many years in the future, there are certain things we can do now that will ease our lives right now and the future porting, which is certain to happen.

For example, we can from __future__ import unicode_literals to make all string literals unicode on Python 2. This will save us many annoying problems with Unicode support, even on Python 2. We can all add @python_2_unicode_compatible as we see fit.

@quantum5
Copy link
Member Author

The last Python 2 supporting commit was tagged last-py2.

We merged #937 which completely dropped Python 2 support and made the site work on Python 3 in one go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant