How to Install Django on CWP
Django is a free and open source high-level Python Web framework. Being a Python Web framework, Django requires Python
What Python version should I use with Django?
Python 3 is recommended. Django 1.11 is the last version to support Python 2.7. Support for Python 2.7 and Django 1.11 ends in 2020.Since newer versions of Python are often faster, have more features, and are better supported, the latest version of Python 3 is recommended.You don’t lose anything in Django by using an older release, but you don’t take advantage of the improvements and optimizations in newer Python releases.Third-party applications for use with Django are, of course, free to set their own version requirements.
Django version Python versions1. Install latest version of python Please refer to https://opentechy.com/install-python-3-7-3-from-source/ for a guide on how to install python
1.11 2.7, 3.4, 3.5, 3.6, 3.7 (added in 1.11.17)
2.0 3.4, 3.5, 3.6, 3.7
2.1, 2.2 3.5, 3.6, 3.7
The recommended way to install Django is to use pip
# pip3 install django
This will install the latest version of django.To install a particular version of django,
# pip3 install django==2.0
To tell Django is installed and which version, run the following command in a shell prompt
# python -m django --version