June 19, 2023 » Django Beats » [Archived Version]
In this post we reduce the load on the database and improve the overall performance of our Django app by caching with Redis. Django on Fly.io is pretty sweet! Check it out: you can be up and running on Fly.io in just minutes. Web servers are math wizards 🧙🏽♂️ that can perform complex calculations to build the final - or partial - response that our user sees. Those calculations can vary from expensive queries to the database to rendering the template. For most of small/medium-sized apps, buil…
Read MoreJune 19, 2023 » Anže’s Blog » [Archived Version]
Ensure your SSL certificate doesn't expire to avoid downtime
Read MoreJune 16, 2023 » Django News » [Archived Version]
News New Python 3.7 to 3.11 releases and 3.12.0 beta 2 are now available Another combined release of six separate versions of Python including 3.12.0 beta 2! blogspot.com PEP 703: Making the Global Interpreter Lock Optional (3.12 updates) A very informed discussion on PEP 703 to make the Python GIL optional. python.org Migrate your project to .readthedocs.yaml configuration file v2 An important deprecation …
Read MoreJune 14, 2023 » Adam Johnson » [Archived Version]
Can you spot the problem with this Django snippet? from django.utils.html import format_html def user_snippet(user): return format_html(f"<em>{user.name}</em>") Well, the problem is that format_html() is passed an already-templated string! Its escaping ability is not being used. If the user name contains HTML, it …
Read MoreJune 9, 2023 » Django News » [Archived Version]
News Django bugfix release: 4.2.2 Features 11 new bugfixes. See the complete notes for more. djangoproject.com Official Django Merchandise Did you know there is an official Django merchandise store? Represent Django in your community with a t-shirt, sweatshirt, hoody, or baby gear. All proceeds are donated to the Django Software Foundation. threadless.com “Boost Your Git DX” available in early access This i…
Read MoreJune 8, 2023 » Carlton's latest posts. » [Archived Version]
My talk from DjangoCon Europe 2023. Up on YouTube now It's essentially a quick WHY on Neapolitan, and the coming soon — django-template-partials. It's only short. Do check it out.
Read MoreJune 8, 2023 » Django on Matt Layman » [Archived Version]
In this episode, I continued on the signup flows that started in the previous stream. We configured the email backend and verified that the end to end signup flow worked. Then I set up the templates system and added the initial templates for the confirmation email the index view of the whole site. The stream ended with configuring test coverage and setting up CI with GitHub Actions and pre-commit.ci
Read MoreJune 8, 2023 » Django on Matt Layman » [Archived Version]
In this episode, I continued on the signup flows that started in the previous stream. We configured the email backend and verified that the end to end signup flow worked. Then I set up the templates system and added the initial templates for the confirmation email the index view of the whole site. The stream ended with configuring test coverage and setting up CI with GitHub Actions and pre-commit.ci
Read MoreJune 5, 2023 » The Django weblog » [Archived Version]
Today we've issued the 4.2.2 bugfix release. The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E.
Read MoreJune 3, 2023 » Better Simple » [Archived Version]
This is my attempt to help clear up confusion about Django migrations and your database.
Read More