In the earlier post we installed our first django framework project and installed bunch of modules one after another. The modules can be changed, obsolete or the support can be outdated. While deploying the project to production or any other environment we need an idea of the packages installed in the project. Therefore we need to store the python modules names as a requirement.
This is why we are adding a requirements.txt file. This is an easy task that can be accomplished by a single command:
pip freeze >> requirements.txt
This creates a text file requirements.txt including following modules which are installed on project.
Next we will go through the creation of super user and making database migration.