This is the final chance to try 3.1 features before the release on August 3rd.
Python 3.8.5 released as a security hotfix. 3.9.0b5, the last beta before 3.9.0, also available
Anthony Shaw covers various ways to exploit the Django templating engine in a modern web application.
Performance tips around instrumentation like
django-debug-toolbar and others that can be disabled for tests.
Nicolas Kuttler refactors some code that uses Django's template fragment caching to use low-level cache API.
A beginner-friendly overview of Django.
If you aren't digitally signing your Git commits then this article is for you.
A useful guide to getting your Django application ready for deployment.
Katie McLaughlin walks through using
django-gcloud-connectors to make a Django deployment on Google Cloud completely serverless (and in theory, free!)
Kasey Kelly walks us through a technique for customizing colors and other per page CSS styles using Django.
If you find yourself wrestling with CSS layout, it’s likely you’re making decisions for browsers they should be making themselves. Through a series of simple, composable layouts, Every Layout will teach you how to better harness the built-in algorithms that power browsers and CSS.
A very nice step-by-step to adding CSP to your Django site.
Django 3.1 introduces pathlib by default which will cause subtle issues for anyone using older tutorials.
A guide to using
pip-tools for Python dependency as opposed to
Are you bored of waiting for "manage.py test" to finish? Read this book while you wait! It has many tips and tricks that apply to all projects, big and small, and it covers both Django's test framework and pytest.
From the author Two Scoops of Django, a look at adding custom data fields to a Django model.
Matt Layman explores models and how to interact with data in your database.
Even though Django Chat is taking a summer break, we somehow missed sharing this episode.
Jesse Hunt talks about building a site with Django that lets you view 3D scans of cars with Twinner. It’s hosted on 2 Heroku hobby Dynos and has been up and running in production since January 2020.
Separate handling of protected media in Django, with X-Sendfile support.
A Django app that integrates with Dramatiq.
Dramatiq, a background task processing library with a focus on simplicity, reliability and performance, is new to us.
Guidance for changing the default branch name for GitHub repositories
A Python utility/library to sort imports.
isort version 5.0.0 added profiles and now includes a Django profile for matching Django's import sorting style.