News
PSF News: Kicking off 2024 strong, thanks to our community!
The PSF is starting the year feeling energized and supported, thanks to each of you who shared or donated to the year-end fundraiser and membership drive.
</> htmx ~ htmx 1.x → htmx 2.x Migration Guide
The purpose of this guide is to provide instructions for migrations from htmx 1.x to htmx 2.x. We place a very high value on backwards compatibility, so in most cases this migrations should require very little, if any, work.
Updates to Django
Today 'Updates to Django' is brought to you by Pradhvan Bisht and Mohammad Alsakhawy from Djangonaut Space!
The Django roadmap is here! Meeting modern auth standards, switching to Jinia2, built-in API framework, built-in rate limiting, sponsored Django features, making Django-Update official, and many more exciting ideas made it into the roadmap! And the discussion is still ongoing.
Last week we had 15 pull requests merged into Django by 11 different contributors - including 3 first time contributors! Congratulations to Marijke Luttekes, Adrienne Franke, and Aryan Gholizadeh Mojaveri for having their first commits merged into Django - welcome on board!
We're still seeing more updates to GeoDjango:
OGRGeometry.coord_dim
is deprecated in favour of the newOGRGeometry.set_3d
method.- Support for "M" dimensions has been added to GDAL "POINT" Geometries.
- The
centroid
attribute is now available on all geometry types.
And Django admin's footer is now a real <footer>
!
Wagtail CMS
Sponsored Link 1
Boost Your Django DX, now updated for Django 5.0
Adam Johnson just updated this DX book with new content, a bunch of edits, and the latest versions of tools, including Python 3.12 and Django 5.0. Rated 5 stars with over 1,000 readers.
Articles
Duplicate form submissions and how to handle them in Django
A look at duplicate form submissions, understand the problem and fix it with a nice server-side solution.
A simple approach to running Django Core locally
How to create a Django project running on a local copy of Django Core using a simple setup (e.g., no Docker, Poetry, and all that).
The simplest way to add Google sign-in to your Django app
Add Google sign in without using django-allauth
or django-social-auth
.
Safely rewriting complex code
A discussion of techniques for safely refactoring complex legacy code to make it more maintainable, including adding tests, small steps, and analyzing dependencies.
Inside .git
A text version of Julia Evans's recent comic on what's actually happening in the .git directory, featuring a ~15 word explanation of each part of it.
Events
PyCon US Hatchery is Back in 2024!
We are pleased to announce the return of the Hatchery program in PyCon US 2024. This program offers pathways for PyCon US attendees to introduce new tracks, activities, summits, demos, etc., at PyCon US—activities that all share and fulfill the Python Software Foundation’s mission within the PyCon US schedule.
Django London Meetup February
The next London meetup is at the Kraken Tech (Octopus Energy Group) London office this Monday! The talk is on "Battle-Tested Tips for Maximizing Learning from Tech Incidents."
Tutorials
Django Email and Contact Form Tutorial
Learn how to quickly setup a Django contact form that sends email first locally and then in production via services like SendGrid, mailgun, and SES.
Django Login, Logout, Signup, Password Change, and Password Reset
A big Django 5.0 update to an existing tutorial series, now combined into one mega-post covering all you need to know for a complete user authentication flow in Django.
Videos
DjangoCon US 2023: Contributing to Django or how I learned to stop worrying and just try to fix an ORM Bug
You may think the Django ORM is big and scary, but at the end of the day, it's just Python. A talk by Ryan Cheley on his experiences fixing an ORM bug with help from the community.
DjangoCon US 2023 - Keynote: Testing Modern Web Apps Like a Champion
How to thoroughly test a modern web app through all its layers: unit testing, component testing, API testing for integrations, end-to-end testing, performance and load testing, and continuous testing as part of DevOps pipelines.
Sponsored Link 2
Django and Wagtail CMS Developer Training - New Dates Live!
Build your knowledge and skills in essential Django and Wagtail CMS practices. A two-part training programme led by Senior Wagtail Developers that extends way beyond typical tutorials and documentation. Only 10 places are available per course.
Podcasts
Django Girls Podcast: From Coder to Leader - Making the Engineering Management Switch with Lisa Quatmann
This episode features Lisa Quatmann, a Sr. Engineering Manager with an interesting journey. From representation to how DjangoGirls taught her skills that became relevant in her role, she shares resources and tips for growing in your career.
Projects
occipital/django-content-settings
The django-content-settings
module offers users the ability to easily create and manage editable variables directly from the Django admin panel.
Sponsorship
Sponsor this Newsletter
Want to reach over 3,600+ active Django developers? Full information is available on the sponsorship page.