e45 - django-debug-toolbar; Model and ModelForm cleanup
Brylie Christopher Oxley
Today, I worked on the GeriLife Caregiving Project, a caregiving software initiative I've made open source on GitHub. The session was productive and covered several aspects of development.
Firstly, I tackled a bug that caused duplicate fields to appear on a form. After resolving the issue, I successfully merged the pull request, which was a satisfying start.
I briefly considered adding fake work data generation to the project. However, after some thought, I created a separate issue for this task to take later.
To enhance the project's performance, I installed a debug toolbar. This tool will be invaluable for profiling performance. Additionally, I set up some fake data and a superuser to facilitate testing and development.
One of the challenges I encountered was the homepage loading slowly due to multiple queries. To resolve this, I suggested implementing lazy loading charts with HTMX, a decision I'm hopeful will improve the user experience significantly.
I also added a new feature - a button on the residence list on the homepage. This button allows users to view resident details, enhancing the functionality of our application.
During the session, I discussed installing dependencies with pip instead of Poetry. Ultimately, I decided to install coverage as a dependency, which will help track our testing coverage.
I also touched on potential optimizations for the project, like switching to Postgres. However, I prefer to keep things simple in the development phase. ... https://www.youtube.com/watch?v=G9rEqt948Og
532579535 Bytes