Installing and configuring Django
Configuring any Python project requires following a standard for maintaining the necessary package's versions. Many developers prefer to maintain the requriements.txt
file, which helps them to keep the application stable. Any version upgrade of specific packages as mentioned in the requirements.txt
may break the whole application. That's the reason developers strictly follow this standard to maintain a stable version of their application.
Setting up a virtual environment
I was following the traditional pattern until I came across a very cool tool that changed my traditional approach to maintaining the requirements.txt
file. Now you won't need the requirements.txt
anymore. It's called pipenv; I love to use it.
Pipenv is a Python package management tool inspired by numerous package management tools of different languages, such as npm, Yarm, cargo, composer, builder, and so on. Pipenv is officially recommended by Python.org (https://www.python.org/). This tool...