Nov. 2, 2023 » Django on Matt Layman » [Archived Version]
In this episode, we cleaned up the email sending job. I had to make some changes based on some discoveries that I made while researching how to track responses and associate the journal entries back to the user. While doing this clean up, we added a new Prompt model to make the email sending job idempotent for each day.
Read MoreNov. 1, 2023 » The Django weblog » [Archived Version]
In accordance with our security release policy, the Django team is issuing Django 4.2.7, Django 4.1.13, and Django 3.2.23. These releases addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2023-46695: Potential denial of service vulnerability in UsernameField on Windows The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.forms.UsernameField was subject to a potential denial of service attack via certain…
Read MoreOct. 27, 2023 » Django News » [Archived Version]
News Django 5.0 beta 1 released Django 5.0 beta 1 is now available. It represents the second stage in the 5.0 release cycle and is an opportunity for you to try out the changes coming in Django 5.0. djangoproject.com The Ruff Formatter: An extremely fast, Black-compatible Python formatter Ruff added a Black linter/formatter that is over 30x faster than existing tools while maintaining >99.9% compatibility with Black. If you haven't used Ru…
Read MoreOct. 26, 2023 » Better Simple » [Archived Version]
A collection of occurrences in which I've benefited from good luck.
Read MoreOct. 25, 2023 » Paolo Melchiorre » [Archived Version]
A single file Django micro project created for demonstration purposes to be used in the same way as other Python frameworks.
Read MoreOct. 23, 2023 » The Django weblog » [Archived Version]
Django 5.0 beta 1 is now available. It represents the second stage in the 5.0 release cycle and is an opportunity for you to try out the changes coming in Django 5.0. Django 5.0 brings a deluge of exciting new features which you can read about in the in-development 5.0 release notes. Only bugs in new features and regressions from earlier versions of Django will be fixed between now and the 5.0 final release. Translations will be updated following the "string freeze", which occurs when…
Read MoreOct. 20, 2023 » Django News » [Archived Version]
Django Software Foundation Announcing DSF Working Groups Previously, you more or less needed to be a board member to help; now, anyone can join — or form — a working group to further the DSF’s mission. djangoproject.com 2024 DSF Board Nominations Nominations are open for the 2024 Django Software Foundation Board of Directors. Anyone can apply. djangoproject.com Djangonaut Space now accepting applications for our ne…
Read MoreOct. 20, 2023 » James Bennett » [Archived Version]
There is no single development, in either technology or management technique, which by itself promises even a single order-of-magnitude improvement within a decade in productivity, in reliability, in simplicity. If “The Mythical Man-Month” — or at least the popular distillation of it into a single pithy saying — is the most famous thing the late Fred Brooks ever wrote, then “No Silver Bullet”, the essay quoted above, must surely be the most infamous, o…
Read MoreOct. 19, 2023 » The Django weblog » [Archived Version]
We are thrilled to announce that Django has a mentorship program, and that we're open for applicants for our next cohort! Djangonaut Space is an organization working to onboard and develop open source code contributors to Django and beyond. People sustain the framework and its ecosystem. By inviting more people to participate in this community, and giving them the resources and support to succeed, we aim to develop the future leaders of Django. Our journey began with our pilot “Djangonaut Space…
Read MoreOct. 19, 2023 » Matthias Kestenholz: Posts about Django » [Archived Version]
Customize the Django admin to differentiate environments We often have the same website running in different configurations: Once as a production site. Once as a place where editors update and preview the content. The content is later automatically (and maybe partially) transferred from this environment to the production environment. Once as a stage environment to stabilize the code. And maybe additional environments for local development. The Django admin panel mainly uses CSS variables for…
Read More