How to Create Initial Django Migrations for an Existing Database
Two scenarios, two fixes: adopt migrations for an existing Django schema with makemigrations and migrate --fake-initial, or bring a legacy database un...
Read article →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.
All articles →Django · 99 articles
Two scenarios, two fixes: adopt migrations for an existing Django schema with makemigrations and migrate --fake-initial, or bring a legacy database un...
Read article →Custom Django migrations let you do what makemigrations can't: move and transform data with RunPython, run raw SQL with RunSQL, reshape state with Sep...
Read article →A 2026 guide to monitoring Django 5.x with the modern sentry-sdk: error tracking, performance tracing, profiling, releases, noise filtering, PII scrub...
Read article →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 ...
Read article →A Django "plugin" is really a reusable app. Learn how to structure one, package it with a modern pyproject.toml, publish it to PyPI, and add real plug...
Read article →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...
Read article →A 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...
Read article →A practical, up-to-date guide to optical character recognition in Python. Install Tesseract 5 and pytesseract, run the minimal image_to_string example...
Read article →Static Django fixtures rot on every schema change. Learn how to use factory_boy instead: declarative factories with Faker, Sequence, SubFactory and po...
Read article →2Checkout was acquired by Verifone in 2020 and now runs as 2Checkout (now Verifone). This updated Python 3 guide wires its hosted/inline checkout into...
Read article →GitHub Actions is the modern way to add CI to a Django project. Build a complete .github/workflows/ci.yml with a Postgres service, a Python version ma...
Read article →A practical guide to aggregation in the Django ORM, tested on Django 5.2 with PostgreSQL and SQLite: aggregate() vs annotate(), Count, Sum, Avg, Min a...
Read article →We reply within one working day