Blog

Here’s a list of my blog posts. Filter by topic:

Code: General programming tips, tricks, and resources for developers. Guides on how to write clean/quality code.

Code

Find and Fix N+1 Queries in Django Using AppSignal Logo
In this article, you'll learn about N+1 queries, how to detect them with AppSignal, and how to fix them to speed up your Django apps significantly.
Avoid Counting in Django Pagination Logo
This article looks at how to avoid the object count query in Django pagination. Appropriate for production environments.
Limiting Content Types in a Django Model Logo
Article looks at limiting content types when working with Django's generic relationships.
Approximate Counting in Django and Postgres Logo
This article looks at how to speed up counting with Django and PostgreSQL. It covers two different approaches.
Django REST Framework: Pros and Cons Logo
This article examines Django REST Framework, its pros and cons, and its alternatives.
Django Performance Optimization Tips Logo
Learn about the best Django performance practices and how to speed up your app.
Migrating to a Custom User Model Mid-project in Django Logo
Learn how to migrate to a custom user model mid-project in Django.
Class-based vs Function-based Views in Django Logo
Differences between Django's class-based views (CBVs) and function-based views (FBVs).
Clean Code in Python Logo
Clean code, code standards, code principles and general guidelines on writing clean code.
Effectively Using Django REST Framework Serializers Logo
Learn how to more efficiently and effectively use DRF serializers by example.