How to check Django version ( Jupyter, Colab, Terminal, Anaconda, Pycharm)

Django is a high-level python framework that allows you to build scalable and well-maintained websites in a short period of time. It is open source and uses MVC (model, view, and controller ) architectural pattern. In this article, you will know how to check the version of Django in Jupyter, Colab, Terminal, Anaconda, and Pycharm.

How to check the version of Django

Let’s know the methods to find which version of Django you are using on all the platforms.

Jupyter

If you are using Jupyter Notebook, the best way to check the version of Django is to open the notebook and type the following command in a cell:

!pip show Django

It will print out the version of Django that is installed in your system.

Check version in Jupyter Notebook
Check the version in Jupyter Notebook

Colab

In Google Colaboratory, you can check the version of Django by executing the following code in a cell.

!pip show Django

or

!pip freeze | grep Django

You will get the version of the Django in the colab.

Check version in Colab
Check the version in Colab

Terminal

If you are using a terminal or the command prompt then, you can check the version by running the following command:

pip show Django

Here you don’t have to put the “!” before the pip command like the above platforms,

You will get the version of Django in the output.

Check version in Command Prompt
Check the version in Command Prompt

Anaconda

In Anaconda, you can check the Django by executing the following command in the Anaconda Prompt.

conda list Django

It will list out the Django with the version installed in your system.

Check version in anaconda prompt
Check the version in the anaconda prompt

Pycharm

If you are using Django on  Pycharm, you can check the version by Navigating to the file. Go to File > Settings > Project Interpreter. It will open the Project Interpreter window. There you will see the list of all the packages that are install in your working project. You will know the version of Django next to the package name.

Check version in Pycharm
Check the version in Pycharm

Conclusion

If you want to build a prototype of a web application then you can use the Django web framework. If you have installed this module in your system then these are the ways to check its version in Jupyter, Colab, the Terminal, Anaconda, and Pycharm.

Code The Best
Hi, I am CodeTheBest. Here you will learn the best coding tutorials on the latest technologies like a flutter, react js, python, Julia, and many more in a single place.