How to check Django version?

633    Asked by shivamJaiteley in Python , Asked on Jun 12, 2021

I have to use Python and Django for our application. So I have two versions of Python, 2.6 and 2.7. Now I have installed Django. I could run the sample application for testing Django successfully. But how do I make sure whether Django uses the 2.6 or 2.7 version and what version of modules Django uses?

Answered by manisha Murakami

Django version check:

If you're under Linux and want to check the Python version you're using, run python -V from the command line.

If you want to check the Django version then you should open a Python console and type

import django
django.VERSION
(2, 0, 0, 'final', 0)


Your Answer

Interviews

Parent Categories