Python
fromRealpython
3 days agoHow to Create a Django Project Quiz - Real Python
Practice creating a Django project: set up virtual environments, install and pin dependencies, start projects and apps, and ensure reproducible environments.
At Caktus, many of our projects use pip-tools for dependency management. Following Tobias' post How to Migrate your Python & Django Projects to uv, we were looking to migrate other projects to uv, but the path seemed less clear with existing pip-tools setups. Our requirements are often spread across multiple files, like this: $ find requirements/ -type f requirements/test/test.in requirements/test/test.txt requirements/deploy/deploy.txt requirements/deploy/deploy.in requirements/dev/dev.txt requirements/dev/dev.in requirements/base/base.in requirements/base/base.txt