How to create requirements.txt file


You dont need to create requirements.txt file manually. pip3 has a option which takes care of this.

pip3 freeze > requirements.txt

Now let us see content of the file. For you it might look different

$ cat requirements.txt 
asgiref==3.4.1
Django==3.2.12
django-ckeditor==6.2.0
django-js-asset==2.0.0
pkg-resources==0.0.0
pytz==2022.1
sqlparse==0.4.2
typing-extensions==4.1.1

post by Pravin


Comments