I have been using django for my web project. I forgot to add requirements.txt file. Now I have already installed so many apps even third party apps. How do I know which version of apps I have been installed and their names?
This is the comand line I used to know which apps been using in the django project but the thing is I can only get the few app names with this comand not the version.
python manage.py makemigrations
For creating requirements.txt
file, run the following command inside the virtual environment:
pip freeze > requirements.txt
It will create a requirements.txt
file and prints the list of all the installed packages with their versions into the requirements.txt
file.