How to get Django
Django is available open-source under the BSD license. We recommend using the latest version of Python. See the FAQ for the Python versions supported by each version of Django. Here’s how to get it:
Option 1: Get the latest official version
The latest official version is 5.2.7 (LTS). Read the 5.2.7 release notes, then install it with pip:
Linux / macOS:
python -m pip install Django==5.2.7
Windows:
py -m pip install Django==5.2.7
Option 2: Get the alpha for 6.0
As part of the Django 6.0 development process, Django 6.0a1 is available. This release is only for users who want to try the new version and help identify remaining bugs before the 6.0 release. Please read the 6.0 release notes before using this package.
Install the alpha with