Django proxy models let you override a model's behaviour — managers, default ordering, admin screens and methods — while sharing the parent's database...
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 2026 guide to passwordless authentication in Django 5.x: email magic links and OTP using django.core.signing, a custom auth backend, and login(), pl...
A DRF router auto-generates URL patterns from a ViewSet, mapping list, detail, and @action endpoints to the right verbs. Learn SimpleRouter vs Default...
django-rest-swagger is deprecated and archived. In 2026, document Django REST Framework APIs with OpenAPI 3 using drf-spectacular, which generates an ...
jsPDF turns an HTML element into a downloadable PDF entirely in the browser. This 2026 guide covers the modern ESM setup, the html2canvas multi-page f...
A practical 2026 guide to converting XML to JSON in Python with xmltodict: parse XML into a dict, serialize with json.dumps(), handle attributes and n...
A practical, step-by-step guide to adding custom managers in Django 5.x — subclass models.Manager, override get_queryset(), build chainable filters wi...
A 2026 step-by-step guide to deploying a Django app on Heroku — Procfile, gunicorn, WhiteNoise, dj-database-url and Postgres — plus why the free tier ...
Django conditional expressions let you run SQL CASE/WHEN logic inside the ORM. Learn Case, When, Q, F, Value, Coalesce, conditional aggregation and Ca...
Function-based and class-based views both have a place in Django. This guide shows when migrating to generic CBVs like ListView and CreateView pays of...
A practical 2026 guide to Django unit testing: test forms and views with Django's built-in TestCase and test Client, the modern pytest-django workflow...
The Django Template Language (DTL) is Django's syntax for HTML templates. This beginner's guide covers variables and dot lookups, tags vs filters, aut...