aboutsummaryrefslogtreecommitdiff
path: root/main.py
AgeCommit message (Collapse)Author
2024-04-24Setup logging: Use gunicorn's loggers where appropriateFrederick Muriuki Muriithi
If the application is run under GUnicorn, then use the gunicorn loggers otherwise, use some default development loggers. This can be extended to support other WSGI servers down the line if ever necessary.
2023-11-22Make existing user admin using core system functionsFrederick Muriuki Muriithi
Use the core system functions to both fetch the user and make them into a system admin, rather than fetching with raw queries. This way, if the way the users are fetched, or made into an admin, changes, we do not need to update the scripts for most part.
2023-08-07Change imports to new unified db module.Frederick Muriuki Muriithi
2023-08-04Initialise the application and update some module importsFrederick Muriuki Muriithi