Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (47.6k points)

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?

1 Answer

0 votes
by (106k points)

You can use the below-mentioned code to check the Django version, open a Python console and type it:-

>>> import django 

>>> django.VERSION 

Related questions

0 votes
1 answer
asked Jul 5, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer
asked Oct 14, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer
asked Oct 12, 2019 by Rajesh Malhotra (19.9k points)

Browse Categories

...