Category: Tips & Tricks
171 Posts
FastAPI: Receive Form Data with Form() — a Standard OAuth2 Login Endpoint in 5 Minutes
Django: Replace Repetitive Function Views with ListView and DetailView
Flask: Get a Record or Return 404 in One Line with get_or_404() in Flask-SQLAlchemy
FastAPI: Validate Query Strings with Query() — Block Bad Parameters at the API Gateway in 5 Minutes
Django: Let Your Model Know Its Own Link with get_absolute_url() — Stop Hardcoding URLs Everywhere
Flask: Debug Your Data Right in the Terminal with flask shell in 5 Minutes
FastAPI: def vs async def for Endpoints — Pick the Wrong One and Your API Slows to a Crawl
Django: Remove Duplicate Records with distinct() When Filtering Across ManyToMany in 5 Minutes
