What makes you think Django is terrible
Everything about Django is terrible.
The ORM is pretty trivially understandable and not magic at all.
The configuration is pretty straight forward and we'll documented.
The url routing is pretty good although it could be improved. It's a lot better than flask when you go beyond an MVP at least.