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.