News
Python Developers Survey 2023
If you haven't already done so, we encourage you to complete the Python Developers Survey 2023 to share your thoughts.
Tailwind CSS v3.4: Dynamic viewport units, :has() support, balanced headlines, subgrid, and more
Tailwind CSS v3.4 was just released. This announcement highlights new features like dynamic viewport height units, parent-child styling with the :has() pseudo-class and * variant, text wrapping utilities, subgrid support, and extensions to existing utility scales.
Django Software Foundation
DSF Board monthly meeting, December 14, 2023
DSF Board monthly meeting minutes from the December 14, 2023 meeting.
Updates to Django
Last week we had 19 pull requests merged into Django by 11 different contributors - including 5 first time contributors! Congratulations to Viicos, Nanami, Emanuel Andrecut, Christian Clauss, and erosselli for having their first commits merged into Django - welcome on board!
Here are the key updates from last week:
- From 5.1,
QuerySet.order_by
will support ordering by annotation transforms such asJSONObject
keys andArrayAgg
indices (#34013). - From 5.1, accessible names for screen readers have been added to the "Add" / "Change" buttons in the Django Admin (#34909).
- The accessibility team are now publishing their meeting notes on the Django forum.
Sponsored Link 1
Django for Beginners/APIs/Professionals - Makes a Great Gift!
Level up your Django knowledge with Django for Beginners, Django for APIs, or Django for Professionals, or gift it to a friend. Sample chapters are available to preview for free. Bundle discount available!
Articles
Show Python deprecation warnings
How to configure Python to show deprecation warnings so you can prepare your code before those deprecated features are removed in future Django releases.
Django 5.0 is out!
Eric Matthes' overview of where to go to learn about the newest features in Django, how to make sense of Django’s version numbering system, how to see if your project can easily be upgraded to 5.0, and how to deploy a Django project in just three steps.
Django: Sanitize incoming HTML fragments with nh3
How to use the nh3
package to sanitize HTML fragments in Django forms and models to prevent cross-site scripting attacks, customizing the allowed tags and attributes based on what a site's rich text editor supports.
Videos
DjangoCon US 2023 - Vue + Django: Combining Django Templates and Vue Single File Components without compromise
Learn how to inject Vue SFCs directly into Django Templates, with no need for REST APIs, such that targeted areas can be enriched with Vue while retaining the flexibility and convenience of Django Templates in the remainder.
DjangoCon US 2023 - Panel Discussion: Who put me in charge? Moving beyond day-to-day coding in Django
Not everyone can or wants to solely write code for the rest of their working careers, so this panel explores other ways of advancing in your career, including ways that don’t involve traditional management roles.
DjangoCon US 2023: Using database triggers to reliably track model history
A new way to track history in Django with database triggers.
Podcasts
Django Chat #153: Understand Django with Matt Layman
Matt Layman is a Senior Staff Software Engineer at Included Health and the author of a recent book, Understand Django. We discuss running a Django monolith at scale in the healthcare space, his weekly live coding series, and more.
Django News Jobs
Projects
paul_bissex/django-blocklist
A Django app that provides IP-based blocklisting via middleware. Originally developed for use on https://dpaste.com