A complete, current guide to building a custom user model in Django 5.x. Learn when to use AbstractUser vs AbstractBaseUser, how to log in with email ...
MicroPyramid Blog
Articles that strengthen our current focus on AI systems, modernization, and product engineering, alongside the broader engineering archive.
Older posts still cover Django, Python, AWS, Salesforce, React, Flutter, and Svelte, but the clearest current signal is around the three service lanes below.
AI Systems
RAG, knowledge workflows, search, and practical AI system design.
Explore service pageModernization
Legacy cleanup, migration planning, Django rescue, and safer system change.
Explore service pageProduct Engineering
Full-stack delivery, dashboards, portals, MVPs, and AI-ready product work.
Explore service pageA practical, up-to-date introduction to building REST APIs with Django REST Framework on Django 5.x and Python 3.12+ β serializers, views, ViewSets, r...
A practical, up-to-date guide to optical character recognition in Python. Install Tesseract 5 and pytesseract, run the minimal image_to_string example...
A practical guide to Django class-based views (CBVs) for Django 5.x and Python 3.12+. Understand how as_view() and dispatch route requests, when to us...
Django is one of the best web frameworks for many applications, but not all. This honest 2026 guide covers its strengths and weaknesses and compares D...
A practical, up-to-date guide to TokenAuthentication in Django REST Framework: install rest_framework.authtoken, configure DEFAULT_AUTHENTICATION_CLAS...
A practical 2026 guide to Django ORM and database query optimization: kill N+1 queries with select_related and prefetch_related, fetch fewer columns w...
A practical, modern (Django 5.x) guide to aggregation in the Django ORM: when to use aggregate() vs annotate(), Count/Sum/Avg/Min/Max, grouping with v...
A current, practical guide to writing custom template tags and filters in Django 5.x β templatetags package setup, filters, simple tags, inclusion tag...
Django REST Framework offers four view styles, from function-based views (most control) to ViewSets + routers (least code). This practical guide imple...
A practical, up-to-date guide to extracting text and structured data from PDF and Microsoft Office files in Python. Use pdfplumber and pypdf for PDFs,...
A practical, up-to-date guide to running scheduled and recurring background tasks in Django using Celery 5.x and Celery Beat: app setup, crontab and i...