Django is an open-source, high-level web framework written in Python programming. It follows the model–template–views architectural pattern for the development. The Django installation directory differs as per the installation methods.

Advertisement

In this small faq, you will learn, how to find the Django installation directory on a Linux system.

Django Installation Directory

Open a terminal and connect to the Python shell. If you are using Python virtual environment, make sure to activate the environment before connecting to the Python shell. Then type the following commands to find the Django installation directory.

You see the results below when Django is installed under the Global libraries.

When the Django is configured with Python virtual environment, Make sure to activate environment like source venv/bin/activate . Then run the same commands and view the results.

Thanks, hope this tutorial answered your query. Feel free to comment with any queries.

Share.
Leave A Reply


Exit mobile version