Blog

Thoughts, tutorials and notes on software development.

Filtered by tag: #crud ✕ Clear
Blueprints: How I Replaced Hundreds of Templates with Python Dictionaries
Architecture Django

Blueprints: How I Replaced Hundreds of Templates with Python Dictionaries

A blueprint system that turns Python dictionaries into complete admin pages - tables, filters, forms, actions, permissions, and menus - with zero HTML templates. How a decorator, a TypedDict, and a JSON contract eliminated an entire class of repetitive frontend work.

Five URL Patterns for Everything: How HTMX and Abstract Views Eliminated My Entire API Layer
Architecture Django

Five URL Patterns for Everything: How HTMX and Abstract Views Eliminated My Entire API Layer

What happens when you take Django's class-based views to their logical extreme? You get five URL patterns that handle full CRUD for every model in your application - no REST framework, no serializers, no client-side router. Just HTMX, convention over configuration, and a philosophical rejection of accidental complexity.