Using PostgreSQL's statistics to get a loose page count — I assume you have already read Optimizing the Django Admin Paginator. If not, this is basically the take-away from that article: class... (more…)
Read more »
Say, you’re building a Django-powered web application and you have some data you want to visualize. How do you do it? The most popular… (more…)
Read more »
In Django, a GenericForeignKey
is a feature that allows a model to be related to any other model in the system,
as opposed to a ForeignKey
which is related to a specific one. (more…)
Read more »
Django model is the single, definitive source of information about your data. (more…)
Read more »
When you look for Django ORM optimization tips on the web, you will find mainly articles telling that you should use select_related and prefetch_related to improve your queries. If you are using… (more…)
Read more »