Django's authorization system explained for Django 5.x: per-model permissions (add, change, delete, view), role-based groups, custom permissions, enfo...
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 current, end-to-end guide to deploying Django behind Nginx and uWSGI on Ubuntu 24.04 with Python 3.11+ and Django 5.x: the uWSGI .ini, a systemd ser...
A current (2026) guide to setting up a React development environment with Vite and Node.js LTS, then building your first app β function components, th...
A practical Django 5.x guide to signals: every built-in signal and its arguments, connecting receivers with @receiver and dispatch_uid, where to regis...
A practical, up-to-date guide to writing custom Django 5.x management commands: the management/commands directory layout, the BaseCommand skeleton, ar...
How to run raw SQL in Django 5.x the safe way: Manager.raw() for model instances, connection.cursor() for arbitrary SQL, the dictfetchall helper, para...
Learn Django forms the right way: Form vs ModelForm, the is_valid() lifecycle, cleaned_data, custom validation with clean methods, widgets, CSRF, and ...
A clear, modern getting-started guide to Django: understand the project vs app distinction, set up a virtual environment, run startproject and startap...
A 2026 guide to securing Nginx with free Let's Encrypt SSL: install Certbot, issue and auto-install certificates, harden TLS 1.2/1.3, do wildcards wit...
A 2026 update to adding multi-factor authentication (MFA) in Django. The original django-mfa package is unmaintained, so this guide uses the maintaine...
A practical, up-to-date guide to MongoDB CRUD operations in Python using PyMongo 4.x β connect, insert, query, update, delete, index, aggregate and ru...
A 2026 performance deep-dive for Django behind Nginx and uWSGI: concurrency model and worker/thread sizing, the cheaper subsystem, max-requests recycl...