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.
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.
In Google Colaboratory, you can check the version of Django by executing the following code in a cell.
!pip show Django
!pip freeze | grep Django
You will get the version of the Django in the colab.
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.
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.
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.
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.