Logging your SQL to the console helps you understand whats going on under the ORM.
However, queries can get pretty big resulting on a code wall.
SQLFormater is a logging formatter that idents and colorize your SQL statements making everything legible again.
Decouple helps you to organize your settings so that you can change parameters without having to redeploy your app.
It also makes easy for you to:
- store parameters on ini or .env files;
- define comprehensive default values;
- properly convert values to the correct data type;
- have only one configuration module to rule all your instances.
It was originally designed for Django, but became an independent generic tool for separating settings from code.
One of the worst activities for a developer is to debug integration with badly designed web APIs, read: to debug Paypal integration.