Lee Hodg

Category Archives: Django

Django-Logo

Django database optimization

The Django ORM makes interacting with the database a breeze, but without due care can also lead to poor performance. Example models Let’s say we have 2 very simple models, an Artist and her Artwork: Fetching artworks for each artist Imagine we had a user listing endpoints (for example in a Django rest framework API), […]