This is my personal notes on all-django. From server configurations for deployments, to small code patterns and everything in between.
This guide is not supposed to be exhaustive or make sure that the approach taken is the best ever possible. It rather reflects patterns I used or came up with over my 10+ years of working with Django that served me well and I'm still using in various projects I spin up today.
Instead of running around in my various repositories finding this information, I decided to place everything (opportunistically, as they come up while working) in self-contained mini-posts that I can look up in the future and be able to quickly 'copy-paste' the necessary config to get me up and running.
Every piece of code or config you see here is something I took considerable time understanding how it works before using it, and that's something you also should be doing if you are using this guide. Never copy paste stuff you don't understand (because aside the fact you'll never learn shit, it's also very dangerous).
Whenever I feel like it, I might add some explanation on what each command is doing, or why some things are configured the way they are in an effort to help you understand what's going on and facilitate learning. In the cases that's missing and you have trouble understanding some of my decisions, please reach out and I'll try and elaborate further (again, following the opportunistic method instead of doing this beforehand for everything 😁)
I hope these notes come in handy to you as much as they are to me!
Enjoy responsibly,
Toumbs