Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When will Django support Python 3.x?

I understand Django can only be run on Python 2.7 or below. When will it run on Python 3.1 or above? I see that Django 1.3 is coming out, does that support Python 3.x?

like image 575
at. Avatar asked Jan 31 '11 20:01

at.


People also ask

Does Django use Python 3?

Django 1.5 is the first version of Django to support Python 3. The same code runs both on Python 2 (≥ 2.6. 5) and Python 3 (≥ 3.2), thanks to the six compatibility layer. This document is primarily targeted at authors of pluggable applications who want to support both Python 2 and 3.

Does Python 3.7 support Django?

Python compatibilityDjango 3.0 supports Python 3.6, 3.7, 3.8, and 3.9 (as of 3.0. 11). We highly recommend and only officially support the latest release of each series.

Which version of Python is compatible with Django?

Python compatibility Django 2.0 supports Python 3.4, 3.5, 3.6, and 3.7. We highly recommend and only officially support the latest release of each series.

Is Django 3 backwards compatible?

No Django version is fully backwards compatible with the previous one.


2 Answers

Currently Django has passed py3k test.
The last port has been made available at Vinay Sajip repository in BitBucket
Check also news at PortingDjangoTo3k

And, finally, news from PyCon 2012:

Django 1.5 will bring experimental support for py3k.

Maybe targeting up to python 3.3 as both will be released in the same period (python 3.3 is scheduled for august 2012)

like image 169
joaquin Avatar answered Oct 03 '22 18:10

joaquin


It might run on Python 3 by the end of summer. http://news.ycombinator.com/item?id=2130853 I don't know if that means "officially" or not, but it doesn't sounds like it, so official support is probably slightly later.

The question is why you want to know? You can't run it on Python 3 today. That's all that matters. The day you can run it on python 3, then it matters. Before that it doesn't. [Except to those doing the porting, of course ;-) ].

Predicting the future is easy. It's making the predictions come true that is the hard part. :-)

like image 40
Lennart Regebro Avatar answered Oct 03 '22 19:10

Lennart Regebro