Upgrading your django version

KwekuQ
KwekuQ
Nov 26, 2018 · 2 min read
https://www.djangoproject.com/download/#supported-versions
python -m django --version
python -Wa manage.py test --settings=PROJECT.settings.dev
pip install -U Django
Collecting Django
Using cached https://files.pythonhosted.org/packages/d1/e5/2676be45ea49cfd09a663f289376b3888accd57ff06c953297bfdee1fb08/Django-2.1.3-py3-none-any.whl
Requirement already satisfied, skipping upgrade: pytz in ./prod_env/lib/python3.5/site-packages (from Django) (2017.3)
Installing collected packages: Django
Found existing installation: Django 1.11.1
Uninstalling Django-1.11.1:
Successfully uninstalled Django-1.11.1
Successfully installed Django-2.1.3
python manage.py runserver --settings=PROJECT.settings.dev
Django version 2.1.3, using settings 'PROJECT.settings.dev'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
KwekuQ

Written by

KwekuQ

Follow F1. Write code. Be passionate.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade