ImproperlyConfigured: MySQL driver not installed You may refer to MySQL API Dependency Installation to install the MySQL Drivers. This issue is stated at ImproperlyConfigured: MySQL […]
MySQL API Dependency Installation for peewee
When using peewee with MySQL, 2 types of API can be used, one is pymysql, another is mysqlclient. They can be used as alternatives, but […]
Dynamically Defining a Database in peewee
In most of the cases, predefining the database if fine, as in the official Quickstart tutorial, following are the 2 major ways, database proxy and […]
Peewee Mod Operator Overload
Mod(modulo) operation is not officially defined for peewee database query. To use the “MOD“ operator, we have to override the operator by ourselves.1 After this, […]