Vendredi 2 juillet 2021 DB optimization ¶
db/optimization ¶
How to Start a Production-Ready Django Project ¶
In this tutorial I’m going to show you how I usually start and organize a new Django project nowadays.
I’ve tried many different configurations and ways to organize the project, but for the past 4 years or so this has been consistently my go-to setup.
Please note that this is not intended to be a “best practice” guide or to fit every use case. It’s just the way I like to use Django and that’s also the way that I found that allow your project to grow in healthy way.
Typeclasses in Python ¶
Today I am going to introduce a new concept for Python developers: typeclasses.
It is a concept behind our new dry-python library called classes.
I will tell you in advance, that it will look very familiar to what you already know and possibly even use. Moreover, we reuse a lot of existing code from Python’s standard library.
So, you can call this approach “native” and “pythonic”. And it is still going to be interesting: I am showing examples in 4 different languages!