wsgi

Lessons learned building Django projects

I’ve been using Django as my go-to framework for the past few months. So far I’ve enjoyed the ride, but have learned some things that I’d like to share with you: During project setup, create a virtual environment for yourself to work in. Use the ‘pip freeze’ for creating a requirements.txt that helps you manage dependencies. Don’t use any paths within the views. Instead, use the reverse function for looking up routes that correspond to the url.