Share a Django session and login across subdomains by setting SESSION_COOKIE_DOMAIN to a leading-dot domain, with a shared SECRET_KEY, session store, ...
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 pagePart 2 of our Core Web Vitals guide goes deeper on the back end and asset pipeline: cut TTFB with Django query tuning and Redis caching, then shrink b...
A 2026 guide to sending transactional email from a Django app on Heroku with SendGrid: API-key auth (the literal apikey username), SMTP and django-any...
A 2026 guide to caching a Django 5.x project with Memcached. Configure the modern PyMemcacheCache backend (the unmaintained python-memcached Memcached...
Integrate the PayU payment gateway with Django step by step: build the SHA-512 request hash, redirect to hosted checkout, verify the response hash ser...
PyPy's JIT can make CPU-bound, pure-Python Django code several times faster, but most web apps are I/O-bound, so switching interpreters often buys lit...
A practical 2026 guide to building a custom online store with Django Oscar 3.x: what Oscar is, when it beats Shopify or Saleor, the canonical install ...
A current 2026 guide to receiving and parsing inbound email in Django with SendGrid's Inbound Parse Webhook — MX setup, the multipart POST fields, raw...
How to build autocomplete (type-ahead) search in Django with django-haystack and Elasticsearch: the EdgeNgram analyzer, EdgeNgramField, SearchQuerySet...
Keep Django social login fast by offloading slow pipeline steps — avatar fetch, profile sync, welcome email — to Celery 5.x tasks, using the maintaine...
A practical 2026 guide to adding full-text search to Django with django-haystack and an Elasticsearch backend: configure HAYSTACK_CONNECTIONS, define ...
A Django inclusion tag renders a reusable template fragment from a context dict your Python function builds. Learn to create one, pass arguments, use ...