Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#28938 closed Bug (fixed)

Django 2.0 tutorial implies compatibility with Python 2.7

Reported by: Daniel Hepper Owned by: Tim Graham <timograham@…>
Component: Documentation Version: dev
Severity: Normal Keywords: tutorial
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The tutorial for Django 2.1 implies that this version is compatible with Python 2.7.

https://docs.djangoproject.com/en/2.0/intro/tutorial01/#writing-your-first-django-app-part-1

"If you are still using Python 2.7, you will need to adjust the code samples slightly, as described in comments."

It should be made clear that Django 2.1 is only compatible with Python 3.5+ and that users of Python 3.4 and older must use another version of Django.

Change History (5)

comment:1 by Daniel Hepper, 7 years ago

Owner: changed from nobody to Daniel Hepper

comment:2 by Daniel Hepper, 7 years ago

Has patch: set
Owner: Daniel Hepper removed
Status: assignednew

comment:3 by Ramiro Morales, 7 years ago

Triage Stage: UnreviewedAccepted

Hello dhepper thanks for your report.

AFAIK it's about two issues:

  • The already released documentation that accompany 2.0 still mentions compatibility with Python 2.7.
  • The documentation on master still mentions compatibility with Python 3.4

comment:4 by Tim Graham <timograham@…>, 7 years ago

Owner: set to Tim Graham <timograham@…>
Resolution: fixed
Status: newclosed

In 4dcd7723:

Fixed #28938 -- Corrected Python compatibility in the tutorial.

comment:5 by Tim Graham <timograham@…>, 7 years ago

In cc17f39c:

[2.0.x] Fixed #28938 -- Corrected Python compatibility in the tutorial.

Backport of 4dcd7723d59a666ab8e6dc29b0cc6eb7f2658ec1 from master

Note: See TracTickets for help on using tickets.
Back to Top