News
DjangoCon US 2024 CFP and Opportunity Grants are open!
DjangoCon US 2024's Call for Proposals and Opportunity Grants programs are now open until April 24, 2024.
PSF News: White House recommends use of memory-safe languages like Python
The White House has recommended the use of memory-safe programming languages like Python.
Updates to Django
Today 'Updates to Django' is presented by Pradhvan from Djangonaut Space!
Last week we had 28 pull requests merged into Django by 16 different contributors - including 4 first time contributors! Congratulations to Erin Kelly, AlexCLeduc, d9pouces, and Emmanuel Sandjio for having their first commits merged into Django - welcome on board!
Exciting news in Django 5.1:
- The admin UI has a new feature enabling users to set unusable passwords via a checkbox named "Allow login", toggled on by default.
cached_db.SessionStore
now logs failures when saving content exceeding the cache backend's limit, preventing request crashes from that subsequent session.- Registering URL converters with same name is deprecated in favor of enforcing uniqueness on custom path converters.
Not enough? There's some pretty cool stuff packed in 5.0 too:
- First-time contributor AlexCLeduc fixed a bug by adding a definitive chunk_size for the queryset iterator during database serialization, enhancing the handling of models utilizing base managers with
prefetch_related()
.
Sponsored Link 1
Get Django insights in less than 4 minutes with Scout APM.
Need answers to your Django app questions fast? Avoid the hassle of talking with a sales rep and the long wait times of large support teams, and choose Scout APM.
Articles
Multilingual Support In Django
⭐ This is an excellent demo and walkthrough of Django's internationalization support and what it means to add multilingual support for your application. 💯
Python's UV tool is actually pretty good
Jeff shared his notes on how to get UV working with his workflows. UV is the new Python tool, billed as a faster pip and pip-tools replacement.
How to dockerize a Django, Preact, and PostgreSQL Application
A walk through setting up Django and Docker app that uses PostgreSQL and Preact.
The simplest way to add a Django worker (Using AWS Chalice)
One way to develop and deploy a serverless function for Django.
Django: show me the SQL
Here are seven different ways of inspecting the SQL generated by the ORM of Django.
ARCHITECTURE.md
If your project doesn't have an ARCHITECTURE.md you might consider it to help bridge the knowledge gap between new and seasoned maintainers.
Events
PyCon US 2024 Schedule Launch. Introducing our Keynote Speakers
PyCon US launched its scheduled keynote speakers this week. There are several Django-friendly talks and friends speaking this year.
Local Django Communities
The DSF is now organizing a list of Local Django Communities on their website.
Tutorials
Getting Started with Django
A comprehensive introduction to Django highlighting architecture, project structure, models, views, URLs, and templates.
DjangoCon Videos
DjangoCon US 2023 - Introduction to GitHub Actions: Understanding Key Terms and Building Your First
Paul from Platform.sh covers the widely popular tool, GitHub Actions, and how to integrate it with a Django app.
DjangoCon US 2023 - Let's build a BeeWare app that uses Django
BeeWare is a framework that let users of all skill levels develop applications with native user interfaces. It is very powerful to extend the already existing Django application to multiple devices. In this talk, we will demo building a simple Beeware app with a Django backend.
DjangoCon US 2023 - Swiss Army Django: Small Footprint ETL
A case study of a single-application ETL system to scrape and enrich complex nested data and then expose it via GraphQL and Discord. It will dive into how to use these various async-based libraries together in a small footprint app.
Projects
bckohan/django-typer
Use Typer (type hints) to define the interface for your Django management commands.
olivierphi/zakuchess
A free and open-source "daily chess challenge" game, where you play against a computer opponent with pixel art graphics from The Battle for Wesnoth.
Zakuchess is built with Django 5, htmx, Tailwind CSS, and some other neat tech.
Sponsorship
Sponsor this Newsletter
Want to reach over ~3,700 active Django developers? Full information is available on the sponsorship page.