Latest Python Updates

Latest Programming Updates: Python, Django, PySpark, PyCharm, VS-Code, and More! šŸ

Python 3.14.0 beta 3 is here!

Posted by Hugo


Major new features of the 3.14 series, compared to 3.13

It’s 3.14 beta 3! https://www.python.org/downloads/release/python-3140b3/ Python 3.14 is still in development. This release, 3.14.0b3, is the third of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release. We maintainers of third-party Python projects to during the beta phase and report issues found to as soon as possible. While the release is planned to be feature-complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (Tuesday 2025-07-22). Our goal is to have after beta 4 and as few code changes as possible after the first release candidate. To achieve that, it will be to get as much exposure for 3.14 as possible during the beta phase. the Python bug tracker This includes creating pre-release wheels for 3.14, as it helps other projects to do their own testing. However, we recommend that your regular production releases wait until 3.14.0rc1, to avoid the risk of ABI breaks. Please keep in mind that this is a preview release and its use is recommended for production environments. Some of the major new features and changes in Python 3.14 are: For more details on the changes to Python 3.14, see . The next pre-release of Python 3.14 will be the final beta, 3.14.0b4, scheduled for 2025-07-08. What’s new in Python 3.14 The installer we offer for Windows is being replaced by our new install manager, which can be installed from or . See for more information. The JSON file available for download below contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases. the Windows Store our FTP page our documentation If you’re heading out to sea, remember the : Maritime Approximation mph = knots Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the . Python Software Foundation Regards from sunny Helsinki with 19 hours of daylight, Your release team, Hugo van Kemenade Ned Deily Steve Dower Ć…ļæ½ukasz Langa

Python 3.13.5 is now available!

Posted by Thomas Wouters


Python 3.13.5

When I was younger we would call this a brown paper bag release, but actually, we shouldn’t hide from our mistakes. We’re only human. So, please enjoy: Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.5 is the fifth maintenance release of 3.13. 3.13.5 is an expedited release to fix a couple of significant issues with the 3.13.4 release: Several other bug fixes (which would otherwise have waited until the next release) are also included. Special thanks to everyone who worked hard the last couple of days to fix these issues as quickly as possible. Full Changelog As always, upgrading is highly recommended to all users of 3.13. Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation. Regards from hey, it’s us again, your release team, Thomas Wouters Ned Deily Steve Dower Ć…ļæ½ukasz Langa

Python 3.13.4, 3.12.11, 3.11.13, 3.10.18 and 3.9.23 are now available

Posted by Thomas Wouters


Python Release Party

It was only meant to be release day for 3.13.4 today, but poor number 13 looked so lonely… And hey, we had a couple of tarfile CVEs that we had to fix. So most of the Release Managers and all the Developers-in-Residence (including Security Developer-in-Residence Seth Michael Larson) came together to make it a full release party. In addition to the security fixed mentioned above, a few additional changes to the were backported to make the security fixes feasible. (See the full changelogs for each release for more details.) In addition to the security fixes, the fourth maintenance release of Python 3.13 contains more than 300 bugfixes, build improvements and documentation changes. https://www.python.org/downloads/release/python-3134/ https://www.python.org/downloads/release/python-31211/ https://www.python.org/downloads/release/python-31113/ Additional security content in this release (already fixed in older releases for the other versions): As always, upgrading is highly recommended to all users of affected versions. Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation. Regards from your very tireless release team, Thomas Wouters Pablo Galindo Salgado Ć…ļæ½ukasz Langa Ned Deily Steve Dower

Python 3.14.0 beta 2 is here!

Posted by Hugo


Major new features of the 3.14 series, compared to 3.13

Here’s the second 3.14 beta. https://www.python.org/downloads/release/python-3140b2/ Python 3.14 is still in development. This release, 3.14.0b2, is the second of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release. We maintainers of third-party Python projects to during the beta phase and report issues found to as soon as possible. While the release is planned to be feature-complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (Tuesday 2025-07-22). Our goal is to have after beta 4 and as few code changes as possible after the first release candidate. To achieve that, it will be to get as much exposure for 3.14 as possible during the beta phase. the Python bug tracker This includes creating pre-release wheels for 3.14, as it helps other projects to do their own testing. However, we recommend that your regular production releases wait until 3.14.0rc1, to avoid the risk of ABI breaks. Please keep in mind that this is a preview release and its use is recommended for production environments. Some of the major new features and changes in Python 3.14 are: For more details on the changes to Python 3.14, see . The next pre-release of Python 3.14 will be 3.14.0b3, scheduled for 2025-06-17. What’s new in Python 3.14 The installer we offer for Windows is being replaced by our new install manager, which can be installed from or . See for more information. The JSON file available for download below contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases. the Windows Store our FTP page our documentation In 1897, the State of Indiana almost passed a bill defining as 3.2. Of course, it’s not that simple. Edwin J. Goodwin, M.D., claimed to have come up with a solution to an ancient geometrical problem called squaring the circle, first proposed in Greek mathematics. It involves trying to draw a circle and a square with the same area, using only a compass and a straight edge. It turns out to be impossible because is transcendental (and this had been proved just 13 years earlier by Ferdinand von Lindemann), but Goodwin fudged things so the value of was 3.2 (his writings have included at least nine different values of : including 4, 3.236, 3.232, 3.2325… and even 9.2376…). Goodwin had copyrighted his proof and offered it to the State of Indiana to use in their educational textbooks without paying royalties, provided they endorsed it. And so Indiana Bill No.Ā 246 was introduced to the House on 18th January 1897. It was not understood and initially referred to the House Committee on Canals, also called the Committee on Swamp Lands. They then referred it to the Committee on Education, who duly recommended on 2nd February that ā€œsaid bill do passā€. It passed its second reading on the 5th and the education chair moved that they suspend the constitutional rule that required bills to be read on three separate days. This passed 72-0, and the bill itself passed 67-0. The bill was referred to the Senate on 10th February, had its first reading on the 11th, and was referred to the Committee on Temperance, whose chair on the 12th recommended ā€œthat said bill do passā€. A mathematics professor, , happened to be in the State Capitol on the day the House passed the bill and walked in during the debate to hear an ex-teacher argue: Clarence Abiathar Waldo The case is perfectly simple. If we pass this bill which establishes a new and correct value for pi , the author offers to our state without cost the use of his discovery and its free publication in our school text books, while everyone else must pay him a royalty. Waldo ensured the senators were ā€œproperly coachedā€; and on the 12th, during the second reading, after an unsuccessful attempt to amend the bill it was postponed indefinitely. But not before the senators had some fun. The Indiana News reported on the 13th: …the bill was brought up and made fun of. The Senators made bad puns about it, ridiculed it and laughed over it. The fun lasted half an hour. Senator Hubbell said that it was not meet for the Senate, which was costing the State $250 a day, to waste its time in such frivolity. He said that in reading the leading newspapers of Chicago and the East, he found that the Indiana State Legislature had laid itself open to ridicule by the action already taken on the bill. He thought consideration of such a proposition was not dignified or worthy of the Senate. He moved the indefinite postponement of the bill, and the motion carried. Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the . Python Software Foundation Regards from Helsinki, still light at 10pm, Your release team, Hugo van KemenadeNed DeilySteve DowerĆ…ļæ½ukasz Langa

Python 3.14.0 beta 1 is here!

Posted by Hugo


Major new features of the 3.14 series, compared to 3.13

Only one day late, welcome to the first beta! https://www.python.org/downloads/release/python-3140b1/ Python 3.14 is still in development. This release, 3.14.0b1, is the first of four planned beta releases. Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release. We maintainers of third-party Python projects to during the beta phase and report issues found to as soon as possible. While the release is planned to be feature-complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (Tuesday 2025-07-22). Our goal is to have after beta 4 and as few code changes as possible after the first release candidate. To achieve that, it will be to get as much exposure for 3.14 as possible during the beta phase. the Python bug tracker Please keep in mind that this is a preview release and its use is recommended for production environments. Some of the major new features and changes in Python 3.14 are: For more details on the changes to Python 3.14, see . The next pre-release of Python 3.14 will be 3.14.0b2, scheduled for 2025-05-27. What’s new in Python 3.14 The installer we offer for Windows is being replaced by our new install manager, which can be installed from or . See for more information. The contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases. the Windows Store our FTP page our documentation JSON file available for download During the release process, we discovered a test that only failed when run sequentially and only when run after a certain number of other tests. This appears to be a problem with the test itself, and we will make it more robust for beta 2. For details, see . python/cpython#133532 The mathematical constant pi is represented by the Greek letter and represents the ratio of a circle’s circumference to its diameter. The first person to use as a symbol for this ratio was Welsh self-taught mathematician William Jones in 1706. He was a farmer’s son born in Llanfihangel Tre’r Beirdd on Angelsy (Ynys MÓn) in 1675 and only received a basic education at a local charity school. However, the owner of his parents’ farm noticed his mathematical ability and arranged for him to move to London to work in a bank. By age 20, he served at sea in the Royal Navy, teaching sailors mathematics and helping with the ship’s navigation. On return to London seven years later, he became a maths teacher in coffee houses and a private tutor. In 1706, Jones published which used the symbol for the ratio of a circle’s circumference to diameter (hunt for it on pages and or ). Jones was also the first person to realise is an irrational number, meaning it can be written as decimal number that goes on forever, but cannot be written as a fraction of two integers. 243 263 here But why ? It’s thought Jones used the Greek letter because it’s the first letter in or perimeter. Jones was the first to use as our familiar ratio but wasn’t the first to use it in as part of the ratio. William Oughtred, in his 1631 (), used to represent what we now call pi. His was the circumference, not the ratio of circumference to diameter. James Gregory, in his 1668 () used instead, where is the radius, making the ratio 6.28… or . After Jones, Leonhard Euler had used for 6.28…, and also for 3.14…, before settling on and popularising for the famous ratio. Ćā€ž Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the . Python Software Foundation Regards from Helsinki as the leaves begin to appear on the trees, Your release team, Hugo van Kemenade Ned Deily Steve Dower Ć…ļæ½ukasz Langa

Python 3.14.0a7, 3.13.3, 3.12.10, 3.11.12, 3.10.17 and 3.9.22 are now available

Posted by Hugo


Python 3.14.0a7

Not one, not two, not three, not four, not five, but six releases! Is this the most in a single day? 3.12-3.14 were regularly scheduled, and we had some security fixes to release in 3.9-3.11 so let’s make a big day of it. This also marks the last bugfix release of 3.12 as it enters the security-only phase. See for a chart. devguide.python.org/versions/ Here comes the final alpha! This means we have just four weeks until the first beta to get those last features into 3.14 before the feature freeze on 2025-05-06! https://www.python.org/downloads/release/python-3140a7/ Python 3.14 is still in development. This release, 3.14.0a7, is the last of seven planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process. During the alpha phase, features may be added up until the start of the beta phase (2025-05-06) and, if necessary, may be modified or deleted up until the release candidate phase (2025-07-22). Please keep in mind that this is a preview release and its use is recommended for production environments. Many new features for Python 3.14 are still being planned and written. Among the new major new features and changes so far: The next pre-release of Python 3.14 will be the first beta, 3.14.0b1, currently scheduled for 2025-05-06. After this, no new features can be added but bug fixes and docs improvements are allowed – and encouraged! This is the third maintenance release of Python 3.13. Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.3 is the latest maintenance release, containing almost 320 bugfixes, build improvements and documentation changes since 3.13.2. https://www.python.org/downloads/release/python-3133/ This is the tenth maintenance release of Python 3.12. Python 3.12.10 is the latest maintenance release of Python 3.12, and the last full maintenance release. Subsequent releases of 3.12 will be security-fixes only. This last maintenance release contains about 230 bug fixes, build improvements and documentation changes since 3.12.9. https://www.python.org/downloads/release/python-31210/ This is a security release of Python 3.11: https://www.python.org/downloads/release/python-31112/ This is a security release of Python 3.10: https://www.python.org/downloads/release/python-31017/ This is a security release of Python 3.9: https://www.python.org/downloads/release/python-3922/ We highly recommend upgrading 3.9-3.13 and we encourage you to test 3.14. On Saturday, 5th April, 3.141592653589793 months of the year had elapsed. Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the . Python Software Foundation Regards from a sunny and cold Helsinki springtime, Your full release team, Hugo van KemenadeThomas WoutersPablo Galindo SalgadoĆ…ļæ½ukasz Langa Ned DeilySteve Dower

Python 3.14.0 alpha 6 is out

Posted by Hugo


Major new features of the 3.14 series, compared to 3.13

Here comes the penultimate alpha. https://www.python.org/downloads/release/python-3140a6/ Python 3.14 is still in development. This release, 3.14.0a6, is the sixth of seven planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process. During the alpha phase, features may be added up until the start of the beta phase (2025-05-06) and, if necessary, may be modified or deleted up until the release candidate phase (2025-07-22). Please keep in mind that this is a preview release and its use is recommended for production environments. Many new features for Python 3.14 are still being planned and written. Among the new major new features and changes so far: The next pre-release of Python 3.14 will be the final alpha, 3.14.0a7, currently scheduled for 2025-04-08. March 14 is celebrated as , because 3.14 is an approximation of Ćā‚¬. The day is observed by eating pies (savoury and/or sweet) and celebrating Ćā‚¬. The first pi day was organised by physicist and tinkerer Larry Shaw of the San Francisco in 1988. It is also the and Albert Einstein’s birthday. Let’s all eat some pie, recite some Ćā‚¬, install and test some py, and wish a happy birthday to Albert, Loren and all the other pi day children! pi day Exploratorium International Day of Mathematics Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the . Python Software Foundation Regards from Helsinki as fresh snow falls, Your release team, Hugo van KemenadeNed DeilySteve DowerĆ…ļæ½ukasz Langa

Latest Django Updates

Latest Programming Updates: Python, Django, PySpark, PyCharm, VS-Code, and More! šŸ

DSF member of the month - Elena Williams

Posted by Sarah Abderemane •


For June 2025, we welcome Elena Williams as our DSF member of the month! ⭐ Elena is a dedicated member of the Django community. She is part of the Code of Conduct Working Group and she is a Django Girls organizer in Australia. She has been a DSF member since July 2014. You can learn more about Elena by visiting Elena's website and her GitHub Profile. Let’s spend some time getting to know Elena better! Can you tell us a little about yourself (hobbies, education, etc) My background is that I was always interested in computers, though my parents were more creative types, my Dad was an Architect (of built structures). When I was a kid we had computers for CAD around the house before it was common. I was always into STEM subjects, but unfortunately in that era for girls to do engineering it was a bit too hostile for me, so I trained in finance instead and worked in that industry (finance and banking, MNE orgs) for nearly a decade. I kept coming back to coding and was always building computers, and was obsessed with the internet as a technology from pretty early on. Just after I discovered Django I did a Masters in Computing at ANU. To this day my main hobbies are programming/webdev (very much a person who codes for fun) and the open source community. My persistent other hobbies are hackspace activities, I like CNC and laser stuff, but will pick up any and all tools/mediums and give them a go, lately been spending time with blender and cabinetry. When I can, I like to get away to snowboard or kitesurf, and this wild Australian long distance endurance navigation sport called rogaining. Really at the moment I’m mostly focussed on being a parent (which is an awesome experience), my friends (mostly python related), my job and working on the community here in Australia. With my family we go camping/hiking more than most. I’ve also continued to be a sessional academic at ANU teaching software engineering for many years. How did you start using Django? Golly, I’ve been using Django forever. I’d started doing web stuff in the early ā€˜00s and worked in a range of languages and paradigms. I was working in a physics research institute at a high profile university in Australia doing web stuff and made friends with a bunch of the doctoral students. In around 2007, one of these students, and my good mate, Dave, randomly recommended this new framework Django and Python (and emacs also actually but that’s a different story). Basically I got into it immediately and never looked back and went on to build a career around Django (actually Dave later gave up physics and did the same thing too). I’ve been engaged with the Python and Django communities to varying degrees since about 2011 as well. To be honest when I discovered the language and the framework I really didn’t expect to still be passionate about them all these years later but I really am! Hopefully I can continue to be well into the future also. What other framework do you know and if there is anything you would like to have in Django if you had magical powers? Over the years (being a curious person) I’ve worked with many many web frameworks and technologies, the vast majority of the big ones. In recent years I’ve been spending time with FastAPI and SQLAlchemy as well as non-python technologies. Django is better though. Not using Django as much at the moment makes me love it even more and realise how lucky we are with such a well designed and well supported framework. It’s not perfect but it’s outstanding. Having said that: at a technical level I’d love to have ā€œcheaperā€ ways (in every sense) to deploy. Even though deployment methods have changed beyond recognition several times over the years, I always thought this would get easier over time and am kind of surprised that it hasn’t. Very specific to me is that I need Django to have stronger support for many database schemas in the same project, but honestly this is just a specific problem I have inherited in a project at the moment, but it’ll pass eventually. What projects are you working on now? Over the last few years I’ve helped organise a number of events, including PyConAU, though realised I’d been taking on too many projects and trying to pull back actually! Still: Internationally I’m on DSF CoC with a great team. Nationally this year I’ve been serving on the committee of our main Australian open source foundation body, Linux Australia, as well as working in a small team trying to bring together all of the Australian python user groups under a banner we hope to call Python Australia and I’ve had a keen interest in python user groups around the world. In my home town I’ve been organising our local user groups for some time with an awesome team, as well as our fantastic local PyLadies. For work I’m flat-chat working in a senior role on a Platform team in a small data company that provides ā€œcritical digital infrastructureā€ for Australia. Though my most important project of all at the moment really is my family, and I do really prioritise my friends and being healthy nowadays. I’m an avid hackerspace person and do have a couple of purportedly active projects (I’m obsessed with maps among other things) but these are relatively neglected at the moment as I just don’t have the bandwidth. Which Django libraries are your favorite (core or 3rd party)? I just love the ORM. We’re so spoiled in the Django community we don’t realise how mature and feature-rich the ORM is. Maybe I’m biased because I’ve been using it for so long I just ā€œthinkā€ in Django ORM and I’ve been working away from it lately. It’s such a (comparative) pleasure to use. You can nit-pick at it but compared to anything else it’s so beautifully thought through. The admin was the Django ā€œkiller appā€ in 2008 and I’d argue still is in 2025. To be some dozens of seconds away from a custom CMS backend at any time is still magical. Pony magical. It’s still as impressive as ever to show off to people. Also in the same way that Guido says python makes a great calculator: Django makes a great quick tool for really fast data munging, can’t describe how liberating it feels using it for this purpose. Writing tests in Django is under-rated too. There are so many amazing 3rd party libraries, too many to mention. For shout-outs I don’t think I have any projects without Debug Toolbar. The 3rd party caching libraries Memcache and Redis are both great. I’m also usually happy when I turn on Celery, and excited to see DEP-0014 on its way. Danny and Audrey’s Django Cookiecutter project is a great reference even if you don’t take the whole enchilada. What are the top three things in Django that you like? I’ve been lucky to generally have had a pretty great time with Django. Generally I’ve used it for projects where it was a really good fit and so it wasn’t painful. As such I like weird little quirky things about Django. Haters-can-hate but I actually really like a bunch of this controversial stuff, for example I like settings.py as a pattern for projects that aren’t out of control; I enjoy using and customising the management commands framework; I think Meta class as an approach to that type of awkward problem is neat; I’ve generally had a pretty nice time with the template language; I dig into utils and reuse them probably more often than most; ORM and the Tests obviously (it’s trivial to plugin pytest of course). Everything is a trade-off in software engineering and while I’m very biased: I just like the trade-offs that Django has chosen, they’re some of the best-in-class. The top 3 things though? This is tough. I just like it. To nail down actual answers though: the framework workflow overall; that the project has stayed so consistently high quality and battle-hardened for so many years; and the community and my friends (shout out sp-wg) I know you have start Django with one of the first version, what do you think of the evolution of the framework? This is a great question! Thanks for being interested in this history, the Django history is a nice story of having good values and persisting and this actually being successful over the long run. For me there’s all the ā€œback in my dayā€ stuff that’s not obvious now, like Python not being taken seriously as a ā€œrealā€ programming language, let alone javascript, but now those tides have very much turned, and web development is considered extremely respectable and high profile, which was unimaginable when I started. Django started in Web1.0 (whatever that meant), and actually grew substantially during Web2.0 and now even in the modern Web3 era is kind of establishing itself into being part of the backbone of the large parts of the internet that aren’t obvious. Thibaud has a list he maintains of websites that he believes use Django, this is great if you haven’t seen it. One of the most impressive parts of the evolution has been how decisions have been made and implemented. In normal ā€œworkā€ you just have to make things as fast as possible and endlessly add features consequences-be-damned. Open source gets to be fundamentally the opposite. Traditionally one of the defining characteristics of Open Source is that ā€œtime is no objectā€. That is good design and implementation can be allowed the time to breathe and be excessively thought through. There is no rush or deadline. While there’s always conflict and drama I think there has been less so in Django than in most other projects as design decisions have been painstakingly threshed out and perfected in mailing lists, tickets, DEPs and forums over the months and years it takes to make them. The people inside see the drama but we’re in the news almost never compared to most projects in the same space. The point is that hypothetically it’s possible to try to make the best possible design decisions. In practice most projects don’t do this, but I think Django has demonstrated exemplary maturity in trying to pursue this ideal, and is regularly recognised for it. The original founding team deserve full credit for instilling this culture and each successive group of stewards deserve credit for preserving it. There have (and always will be) missteps. For example CBVs are such an obviously good idea on paper, but in practice people don’t think so. On the other hand Andrew Godwin’s implementation of migrations back in the day, that was completely re-writing South from scratch, was truly lovely, even though it was a battle to get to the point of having migrations at all. There’s the history around the db module, which pretty much everyone was too scared to touch after Malcolm died until there were some impressive breakthroughs in it during the ā€œunder the hoodā€ sessions not long after DjangoGirls people started coming on board. Django consciously has decided to be extremely considered in its adoption of change and this has been a great thing. Other frameworks have generally been more cavalier, while Django has been steady, careful and reliable. The other full-feature frameworks are kind of in decline, or have hurt themselves by too-much-change-too-fast, while Django has steadily slowly grown and is the trusty go-to tool for a certain kind of job. Now moving forward I see focus on the very subtle things that make the framework nicer to use and understand, On just making the core capabilities better and more reliable and performant, and only very very carefully adding features. In an age where so much quality degradation is occurring, it inspires hope that projects like Django can persist as beacons of high quality, held together by a small group and big community of thoughtful, caring individuals. Hopefully this is something we can continue for a long time into the future also! You are part of the Code of Conduct working group, how is it to work with the working group? Do you have space available for new members? What does it require according to you? Code of Conduct WGs are slightly niche and exposed to a certain kind of work and responsibility. Not to mention that respecting many sensitives and view-points is necessary. It also means having the guts to tell people ā€œthat’s not how it’s done hereā€ when it needs to be said. Personally it’s a kind of work I’ve grown to be passionate about. I truly believe having a great culture is at the core of community (and really anything good) and can be a complex balancing act of competing factors and emotions. It’s certainly not the kind of thing everyone is into, but if you are, the WG is looking for more diversity, if nothing else it’s tending slightly older at the moment. Having said that: Within all of the open source communities from local to international levels there’s always space for people who are willing to turn up and help! Join your local community! Find the parts of community that ā€œspeakā€ to you. Maybe it’s starting a meetup, helping your local conference, running a DjangoGirls. Maybe it’s something engineer-related like finally adding something to an open source library that you’re into, adding some beginner docs somewhere, or engaging with Djangonaut Space. Maybe it’s something online like helping out in forum.djangoproject.com, Reddit or Discord. As organisers we have this cheat code for finding new people to invite to help more, it’s called ā€œlooking for chair-stackersā€, that is people who engage to help in the little ways, such as helping stack chairs at the end of an event or generally pack down, wipe up, carry boxes or put things away. Or online: people who go out of their way to try to understand and chip in to manage extra rules, or answer the unanswered thing that’s been sitting there for a while. Or people who just ask ā€œcan I help out with that?ā€ when the organisers seem tired or stressed out. Having people around who help in these ways has huge value and has been the beginning of many people being involved in communities and making life-long friends and connections. Now more than ever though, it’s so important to connect to your community. We are stronger, better and healthier when we are connected to and relied on by other people and we have others we can share our experiences with. Particularly us computer people tend not to be as good with connecting with other people, but everyone should find their way to get out and connect! It’s sometimes hard but it’s always better. You have organized many DjangoGirls in Australia, how did you start? Do you have any advice for someone who would like to organize a DjangoGirls event? In 2014 I was living in Perth, Australia, where Russell Keith Magee is based and we had a budding Python/Django User Group. At one of the meetings news emerged about how Ola and Ola were running this thing called ā€œDjangoGirlsā€ at EuroPython in a few weeks. PyConAU was scheduled a couple of weeks after this. I was like, that’s a great idea, I can absolutely have a go at doing that and emailed them immediately asking if I could copy their materials and plan. We pulled it together with an amazing bunch of people and I think this was technically the 2nd DjangoGirls event ever. In the following years I’ve been involved in many more, including the first North American DjangoGirls. From our Perth series of events a successful organisation was spun off called SheCodes. In the more-than-a-decade since then the world has changed so much! Particularly in the tech world. I would say specifically for DjangoGirls events, they are very region specific. My first advice for organising an event in your region is to see if there’s been one previously and reach out to the event organisers, or at least the nearest organisers – I think these days there are few places on earth that haven’t had a DjangoGirls event nearish-by. The resources on the website are actually great for getting going and the international DjangoGirls team are lovely, but also always looking for more help. Where I live now, back in the capital, Canberra, we are very well supported for education services. We held a DjangoGirls event a couple of years ago, but for the attendees what emerged was that what we really wanted was just to connect with other technical women. Now what has been very successful for us is an ongoing PyLadies/Women’s Software group who meet up regularly and talk about things that matter to our experience. We use the ā€œlean-coffeeā€ model and it’s been unexpectedly functional. This has been one of the best groups I’ve ever been in with a range of technical women regularly sharing our weird and statistically unusual experiences together, it feeds the soul, and is strongly recommended if you don’t participate in a group like this already. Is there anything else you’d like to say? A final shout out to the original leaders of the Django community, for me personally Russell, Jeff, Jacob, Andrew and Baptiste in particular, but everyone who has persisted over the years in just turning up over the long haul and keeping our part of the world as beautiful as can be. My friends Dave, Matt and Jonah. Thibaud is a great president right now. Rarely is there a dedicated Django person who is not absolutely delightful and I feel both proud and honoured to be part of this community. A big thank you to everyone (especially you Sarah! And all the Sarahs, Natalias, Lillys and Olas) who help to make Django what it is. Thank you for doing the interview, Elena !

Django bugfix releases issued: 5.2.3, 5.1.11, and 4.2.23

Posted by Sarah Boyce •


Following the June 4, 2025 security release, the Django team is issuing releases for Django 5.2.3, Django 5.1.11, and Django 4.2.23 to complete mitigation for CVE-2025-48432: Potential log injection via unescaped request path (full description). These follow-up releases migrate remaining response logging paths to a safer logging implementation, ensuring that all untrusted input is properly escaped before being written to logs. This update does not introduce a new CVE but strengthens the original fix. We encourage all users of Django to upgrade as soon as possible. Affected supported versions Django main Django 5.2 Django 5.1 Django 4.2 Resolution Patches to resolve the issue have been applied to Django's main, 5.2, 5.1, and 4.2 branches. The patches may be obtained from the following changesets. CVE-2025-48432: Potential log injection via unescaped request path On the main branch On the 5.2 branch On the 5.1 branch On the 4.2 branch The following releases have been issued Django 5.2.3 (download Django 5.2.3 | 5.2.3 checksums) Django 5.1.11 (download Django 5.1.11 | 5.1.11 checksums) Django 4.2.23 (download Django 4.2.23 | 4.2.23 checksums) The PGP key ID used for this release is : 3955B19851EA96EF

DSF calls for applicants for a Django Fellow

Posted by The Fellowship Working Group •


The Django Software Foundation is announcing a call for Django Fellow applications. A Django Fellow is a contractor, paid by the Django Software Foundation, who dedicates time to maintain the Django framework. The Fellowship program was started in 2014 as a way to dedicate high-quality and consistent resources to the maintenance of Django. The Django Software Foundation currently supports two Fellows –Natalia Bidart and Sarah Boyce– and has approved funding for a new full-time Fellow. This position will be initially for a period of one year, but may be extended depending on fundraising levels. Beyond keeping Django running, a fellow is a representative of Django itself. They embody the welcoming culture of Django and aid the community to progress the framework. Fellows are often called upon to speak at Django conferences and events. They are also usually leading Django Sprints occurring in conferences or other setups. Hence a Django Fellow often engages in both informal and formal mentorship. Responsibilities Fellow duties include (but are not limited to): Monitoring security reports and ensuring security issues are acknowledged and responded to promptly Fixing release blockers and helping to backport fixes to these and security issues Ensure timely releases including being a release manager for a new version of Django Triaging tickets on Trac Reviewing and merging pull requests Answering contributor questions on the Forum Helping new Django contributors land patches and learn our philosophy Requirements A Django fellow reviews a very large amount of Django contributions. This requires knowledge in every aspect of web development that the Django framework touches. This turns out to be an intimidatingly-large list of technical topics, many of which are listed below. It’s not our expectation that you come into the job knowing everything on this list! We hope you’ll have solid experience in a few of these topics, particularly some of the ā€œcoreā€ technologies important to Django (Python, relational databases, HTTP). But we fully expect that you’ll learn most of this on the job. A willingness to learn, and a demonstrated history of doing so, is more important than comprehensive knowledge. The technical topics you can expect to work on includes (and is not limited to): SQL and Databases: SQLite, MySQL, Postgres, Oracle Technical Documentation Javascript CSS Semantic HTML Accessibility UI/UX design (Web and CLI) Python async Python features (and versions), compatibility matrix, etc. Everything around HTTP Security best practices There are also: Complex processes which need adhering to Multiple discussions which need opinions and direction Requirements for both formal and informal mentorship And required professional skills such as: Conflict resolution Time management and prioritization expertise Ability to focus in short periods of time and do substantial context switches Self-awareness to recognize their own limits and reach out for help Relationship-building and coordination with Django teams, working groups, and potentially external parties. Tenacity, patience, compassion and empathy are essential Therefore a Django Fellow requires the skills and knowledge of a senior generalist engineer with extensive experience in Python and Django. Open source experience, especially in contributing to Django, is a big plus. Being a Django contributor isn't a prerequisite for this position — we can help get you up to speed. We'll consider applications from anyone with a proven history of working with either the Django community or another similar open-source community. While no geographical location is required, we have a slight preference for timezones between around -8 and +3 UTC to allow for better working hours to overlap the current fellows. If you're interested in applying for the position, please email us at fellowship-committee@djangoproject.com describing why you would be a good fit along with details of your relevant experience and community involvement. Lastly, please include at least one recommendation. The current hourly rate for a fellow is $82.26 USD. Applicants will be evaluated based on the following criteria: Details of Django and/or other open-source contributions Details of community support in general Understanding of the position Clarity, formality, and precision of communications Strength of recommendation(s) Applications will be open until midnight AoE, 1 July, 2025, with the expectation that the successful candidate will start around August 1, 2025.

Django security releases issued: 5.2.2, 5.1.10, and 4.2.22

Posted by Natalia Bidart •


In accordance with our security release policy, the Django team is issuing releases for Django 5.2.2, Django 5.1.10, and Django 4.2.22. These releases address the security issues detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2025-48432: Potential log injection via unescaped request path Internal HTTP response logging used request.path directly, allowing control characters (e.g. newlines or ANSI escape sequences) to be written unescaped into logs. This could enable log injection or forgery, letting attackers manipulate log appearance or structure, especially in logs processed by external systems or viewed in terminals. Although this does not directly impact Django's security model, it poses risks when logs are consumed or interpreted by other tools. To fix this, the internal django.utils.log.log_response() function now escapes all positional formatting arguments using a safe encoding. Thanks to Seokchan Yoon (https://ch4n3.kr/) for the report. This issue has severity "low" according to the Django security policy. Affected supported versions Django main Django 5.2 Django 5.1 Django 4.2 Resolution Patches to resolve the issue have been applied to Django's main, 5.2, 5.1, and 4.2 branches. The patches may be obtained from the following changesets. CVE-2025-48432: Potential log injection via unescaped request path On the main branch On the 5.2 branch On the 5.1 branch On the 4.2 branch The following releases have been issued Django 5.2.2 (download Django 5.2.2 | 5.2.2 checksums) Django 5.1.10 (download Django 5.1.10 | 5.1.10 checksums) Django 4.2.22 (download Django 4.2.22 | 4.2.22 checksums) The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E General notes regarding security reporting As always, we ask that potential security issues be reported via private email to security@djangoproject.com, and not via Django's Trac instance, nor via the Django Forum. Please see our security policies for further information.

Why, in 2025, do we still need a 3rd party app to write a REST API with Django?

Posted by Emma Delescolle •


The question was asked to the president of the DSF this year at FOSDEM, after his talk. And it is clearly a legitimate one! But… is it True? Do we actually need a 3rd party app to write an API with Django? In a lot of cases, when you require a complex and full-featured API, I would recommend you do use one. Django REST Framework and Django Ninja being very sound choices with a bunch of nifty things you might need in a bigger project. But… what if what you need is a simple REST API that does CRUD? Do you really need a 3rd party app to do that? Let's try not to! Let's first ask what is a REST API in the context of this article. Let's limit ourselves to building this: a URL that answers to GET requests with a list of records of a single model type POST-ing to that same URL should create a new record a second URL with the primary key of a record tagged to the end. When GET-ing that URL, one should receive only that single record, in a similar format as in the list PUT-ing data to that URL should update the record and return that record with updated values DELETE-ing to that same URL should delete the record everything should be achieved using JSON Listing records from a model Chances are you have heard of generic class-based views (CBVs) in Django, the one that comes to mind when it comes to listing records is the built-in django.views.generic.ListView. ListView extends 2 other classes, BaseListView and MultipleObjectTemplateResponseMixin. Since we want to build an API, we clearly don't need to extend anything template-related. Looking at what BaseListView provides, one can notice the only thing really missing there is a render_to_response method. And this is going to be the case for most of the other base classes. This sets our starting point! The type of response we want to render is a json response and Django already provides one. So let's build a JsonViewMixin that looks like this for now: class JsonViewMixin(View): response_class = JsonResponse content_type = 'application/json' def render_to_response(self, context, **response_kwargs): response_kwargs.setdefault("content_type", self.content_type) return self.response_class(context, **response_kwargs) The next thing we have to tackle is that the context returned by BaseListView's get_context_data returns much more data than what we strictly need for this article. Also the list of records returned is not serialized to json. Serializers for mutliple formats already exist in Django core (see django.core.serializers) but I will go a different route here. There is another way to serialize data in Django that you are likely familiar with but is not labelled as clearly: forms. Forms are used in regular views to serialize models to simple types, understandable by HTML forms (mostly text) and vice-versa. This is very close to what we need, since json is also mostly text-based. To start with, using forms as serializers requires creating a new form instance for each record in the list we want to return. Let's add that to the mixin! def serialize_many(self, obj_list): return [self.serialize_one(obj) for obj in obj_list] def serialize_one(self, obj) form = self.get_form_for_object(obj) serialized = form.initial serialized['pk'] = obj.pk # forms strip pk's from their data return serialized def get_form_for_object(self, obj): form_class = self.get_form_class() kwargs = self.get_form_kwargs() kwargs['instance'] = obj return form_class(**kwargs) Why use forms? ModelForms are a built-in and robust Django tool that are built around the idea of handling the transition between Model fields and simple (and also JSON-serializable) types (mostly text and numbers). Which is exactly what we want from (de-)serializers in a lot of cases. If you need to (de-)serialize a custom field type, Django documents creating a custom form field and this covered in various places like StackOverflow. Moving on to our first View Now that we have a tool to serialize the records list returned by BaseListView let's write the first version of JsonListView. As I alluded to earlier, we need to strip down what is returned from get_context_data. class JsonListView(JsonViewMixin, BaseListView): def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) # wrapping this in a dict for security reasons return { 'results': self.serialize_many(context['object_list']) } This won't work yet because get_form_class that I used in the JsonViewMixin is only provided by classes that descend from FormMixin. Since we want this view to handle both listing and creating records, let's go and fix that in the next section! 1 down, 3 to go: Adding records First thing first, let's rebrand JsonListView and make it inherit from BaseCreateView. class JsonListCreateView(JsonViewMixin, BaseCreateView, BaseListView): Form creation and validation will be handled automatically by Django! Almost… The first concern will be with populating the form with POST data. While Django does this for you when dealing with URL encoded or multipart form data, it does not (yet) handle json-encoded POST content. But this can be handled by taking advantage of the modularity of Django's generic class-based-views and overwritting get_form_kwargs. Let's address this (in a naĆÆve way) within the mixin as it will be applicable to any JSON view: def get_form_kwargs(self): kwargs = super().get_form_kwargs() if ( len(kwargs.get("data", {})) == 0 and self.request.content_type == "application/json" and len(self.request.body) ): # The request has a JSON body that we did not decode kwargs["data"] = json.loads(self.request.body) return kwargs An issue that could arise here is that a JSONDecoderError could be triggered. get_form_kwargs does not return a response so I don't think it is the right place to handle the exception. The post method does return a response, let's wrap the original one with a try/except (still in the mixin): def post(self, request, *args, **kwargs): try: return super().post(request, *args, **kwargs) except json.decoder.JSONDecodeError as e: return self.response_class( {"error": f"json decode error: {e.msg}"}, status=HTTPStatus.UNSUPPORTED_MEDIA_TYPE, ) Speaking of returning responses, the BaseCreateView class is built around HTML principles and its form_valid and get methods are both designed to render a form (via get_context_data). In the case of our REST API, the "create" part of things should not be involved with GET requests. Furthermore the reply to an invalid form submission should only comprise of an error (status + message) and should not require anything provided by get_context_data. Still, in regards to form validation, a valid form should not result in a redirect (behaviour of BaseCreateView) but rather in a 201 response optionally containing the representation of the created record. The form handling part is generic enough to put it in the mixin itself. The behaviour of GET is specific to the list/create view though. Let's write the code accordingly: class JsonViewMixin(View): ... def form_invalid(self, form): return self.response_class( {'errors': form.errors}, status=HTTPStatus.UNPROCESSABLE_CONTENT ) def form_valid(self, form): self.object = form.save() context = self.serialize_one(self.object) return self.response_class( context, status=HTTPStatus.CREATED ) class JsonListCreateView(JsonViewMixin, BaseCreateView, BaseListView): ... def get_context_data(self, **kwargs): # Explicitly point to BaseListView instead of `super()` # to prevent actions taken by # BaseCreateView's implementation of `get_context_data` context = BaseListView.get_context_data(self, **kwargs) return { 'results': self.serialize_many(context['object_list']) } Halfway there! That was everything needed to handle the create and list portions of our CRUD REST application. Now we can move on to the read, update, delete part. We'll do that in a second View class as it requires a slightly different URL, one that contains the pk of the resource. Both read and update functionalities are provided by Django BaseUpdateView but, as with the create/list view, the major difference in this case will be that we need a much simpler context. class JsonReadUpdateView(JsonViewMixin, BaseUpdateView): def get_context_data(self, **kwargs): return self.serialize_one(self.object) That's it!!! Well, almost… BaseUpdateView is wired to answer to POST requests for updating a record while REST good practices want us to use PUT instead. The fix for this is to raise an error in reply to POST calls while directing PUTs to the parent's post implementation. def post(self, request, *args, **kwargs): return self.response_class(status=HTTPStatus.METHOD_NOT_ALLOWED) def put(self, request, *args, **kwargs): return super().post(self, request, *args, **kwargs) One more fix… Our mixin implementation returns a 201 on form_valid. In case of any view which is not creating a record, this should be 200. Here are the necessary changes: class JsonViewMixin(View): form_valid_status = HTTPStatus.OK # new property def form_valid(self, form): self.object = form.save() context = self.serialize_one(self.object) return self.response_class( context, status=self.form_valid_status # use the new property ) ... class JsonListCreateView(JsonViewMixin, BaseCreateView, BaseListView): form_valid_status = HTTPStatus.CREATED # override in case of creation Why PUT and not PATCH? BaseUpdateView builds a form that expects all fields to be filled. Non-present fields would be reset to empty on the existing record for partial updates. I'll leave it as an exercise to the reader to override that behaviour in case of a PATCH request in order to "pre-fill the form" with existing values, maybe by using the form's initial property… šŸ˜‰ Finally… The last bit of logic we have to implement is for deleting objects. Most of the code from Django's BaseDeleteView is related to creating and validating a form for confirming the user's intend on deleting the resource. This is usually not the expected behaviour for a REST API, this part being handled by whatever is calling the API. Furthermore, it doesn't implement a delete method. In the HTML world of Django's BaseDeleteView, everything is done using GET and POST. So we are (mostly) on our own for this last part. We can still leverage the get_object implementation provided by BaseUpdateView though. Here is what implementing the delete operation for our read/update/delete view looks like: class JsonReadUpdateDeleteView(JsonViewMixin, BaseUpdateView): # name changed ... def delete(self, request, *args, **kwargs): self.get_object().delete() # data is required by JsonResponse return self.response_class(data={}, status=HTTPStatus.NO_CONTENT) Conclusion This implementation is basic and clearly naĆÆve. But it gets the job done! And this can all be done by leveraging Django-provided tools and mechanisms, mainly using Django's generic CBVs. Generic class-based views have been built in such a modular fashion that implementing one's own mini REST framework can be done in less than 100 lines of code. A non-negligible advantage of such an approach is that most libraries written to work with Django's generic CBVs are also likely to work with this implementation. This rather simple approach can certainly be improved (handling exceptions in delete… anyone?) and is clearly not going to cover everybody's use cases. And it most likely misses handling a bunch of edge cases! And if you are building a large REST API, I would say you are probably still better off using a 3rd party library but… to me, the answer to the question ā€œWhy do you need a 3rd party application to write a simple REST application with Django?ā€ is: "You don’t" If you enjoyed this article, read more from Emma on Emma has a blog, which is where this piece was from. Or watch the FOSDEM talk that Emma reacts to: Thibaud Colas - Shifting DX expectations: keeping Django relevant 😬 | FOSDEM 2025

Our Google Summer of Code 2025 contributors

Posted by Bhuvnesh Sharma •


We’re excited to introduce our Google Summer of Code 2025 contributors! These amazing folks will be working on impactful projects that will shape Django’s future. Meet the contributors šŸ‘‡ A. Rafey Khan Project: Django Admin – Add Keyboard Shortcuts & Command Palette. Mentors: Tom Carrick, Apoorv Garg Rafey will work on making Django Admin faster and more accessible through keyboard-driven workflows. Excited to see this land! Farhan Ali Raza Project: Bring django-template-partials into core. Mentor: Carlton Gibson Farhan will be enhancing Django’s template system by adding first-class support for partials—making componentized templates easier than ever. Saurabh K Project: Automate processes within Django’s contribution workflow. Mentor: Lily Foote Saurabh will work on streamlining how contributors interact with Django repo—automating repetitive tasks and improving dev experience for all. A huge shoutout to our mentors and the broader Django community for supporting these contributors! šŸ’š Let’s make this a summer of learning, building, and collaboration.

Our new accessibility statement

Posted by Thibaud Colas & Accessibility team •


Happy Global Accessibility Awareness Day! We thought this would be a fitting occasion to announce our brand new Django accessibility statement šŸŽ‰ Did you know that according to the WebAIM Million survey, 94.6% of sites have easily-detectable accessibility issues? We all need to work together to build a more inclusive web (also check out our diversity statement if you haven’t already!). There are accessibility gaps in Django itself too. This statement improves transparency, and clearly states our intentions. And we hope it encourages our community and the industry at large to more widely consider accessibility. How to use this statement Read it, share it with your friends, or in a procurement context! Use it to understand where there are gaps in Django that need to be addressed on projects. And opportunities to contribute to Django and related projects ā¤ļø Factor it into legal compliance. For example with the European Accessibility Act. Starting June 2025, accessibility becomes a legal requirement for large swaths of the private sector in the European Union. Share it with venues for Django events to demonstrate the importance of accessibility for their competitiveness. How you can help Take a moment to provide any feedback you might have about the statement on the Django Forum. Let us know if you would prefer additional reporting like an ATAG audit, or VPAT, ACR, or any other acronym. Let us know if you’d like to contribute to the accessibility of the Django community! 🫶

DjangoCon Europe and beyond

Posted by Sarah Abderemane, Thibaud Colas, Tom Carrick •


Credit: DjangoCon Europe 2025 organizers We had a blast at DjangoCon Europe 2025, and hope you did too! Events like this are essential for our community, delighting both first-timers and seasoned Djangonauts with insights, good vibes, and all-around inspiration. This year’s conference brought together brilliant minds from all corners of the globe. And featured early celebrations of Django’s 20th birthday! ā­ļøšŸŽ‚šŸŽ‰ After launching in 2005, Django turns 20 in 2025, and the conference was a great occasion for our community to celebrate this. And work on the sustainability of the project together. We need more code reviews Our Django Fellow Sarah Boyce kicked off the conference with a call for more contributions – of the reviewing kind. In her words, Django needs your help. Every day, contributors submit pull requests and update existing PRs, but there aren't enough reviewers to keep up. Learn why Django needs more reviewers and how you can help get changes merged into core. We need more fundraising Our Vice President Sarah Abderemane got on stage to encourage more financial support of Django from attendees, showcasing how simple it is to donate to the project (get your boss to do it!). We have ambitious plans for 2025, which will require us to grow the Foundation’s budget accordingly. Annual meeting of DSF Members Our Board members Tom Carrick, Thibaud Colas, Sarah Abderemane, and Paolo Melchiorre were at the conference to organize a meeting of Members of the Django Software Foundation. This was a good occasion to discuss long-standing topics, and issues of the moment, such as: Diversity, equity and inclusion. Did you know we recently got awarded the CHAOSS DEI bronze badge? We need to keep the momentum in this area. Management of the Membership at the Foundation. With different visions on how much the membership is a recognition or a commitment (or both). There was interest in particular in sharing more calls to action with members. Content of the website. A long-standing area for improvement (which we’re working on!) All in all this was a good opportunity for further transparency, and to find people who might be interested in contributing to those areas of our work in the future. Birthday celebrations There was a cake (well, three!). Candles to blow out. And all-around great vibes and smiles, with people taking pictures and enjoying specially-made Django stickers! Up next We have a lot more events coming up this year where the Foundation will be present, and bringing celebrations of Django’s 20th birthday! PyCon US 2025 It’s on, now! And we’re present, with a booth. Come say hi! There will be Django stickers available: PyCon Italia 2025 Some of the PyCon Italia team was there at DjangoCon Europe to hype up their event – and we’ll definitely be there in Bologna! They promised better coffee šŸ‘€, and this will have to be independently verified. Check out their Djangonauts at PyCon Italia event. EuroPython 2025 We got to meet up with some of the EuroPython crew at DjangoCon Europe too, and we’ll definitely be there at the conference too, as one of their EuroPython community partners šŸ’š. There may well be birthday cake there too, get your tickets! Django events And if you haven’t already, be sure to check out our next flagship Django events! DjangoCon Africa 2025 Aug. 11, 2025 | Arusha, Tanzania šŸ‡¹šŸ‡æ DjangoDay India Sept. 7, 2025 (tentative) | Bangalore, India šŸ‡®šŸ‡³ DjangoCon US 2025 Sept. 8, 2025 | Chicago, Illinois, USA šŸ‡ŗšŸ‡ø Thank you to everyone who joined us at DjangoCon Europe, and thank you to the team behind the conference in particular ā¤ļø. DjangoCon Europe continues to show the strength and warmth of our community, proving that the best part of Django is truly the people. See you at the next one! PS: if you’re in Europe and like organizing big events, do reach out to talk about organizing a DjangoCon Europe in your locale in the coming years.

DSF member of the month - Simon Charette

Posted by Sarah Abderemane •


For May 2025, we welcome Simon Charette as our DSF member of the month! ⭐ Simon Charette is a longtime Django contributor and community member. He served on the Django 5.x Steering Council and is part of the Security team and the Triage and Review team. He has been a DSF member since November 2014. You can learn more about Simon by visiting Simon's GitHub Profile. Let’s spend some time getting to know Simon better! Can you tell us a little about yourself (hobbies, education, etc) My name is Simon Charette and I'm based in MontrĆ©al. I've been contributing to Django for over a decade mainly to the ORM and I have a background in software engineering and mathematics. I work as a principal backend engineer at Zapier where we use Python and Django to power many of our backend services. Outside of Django and work I like to spend time cycling around the world, traveling with my partner, and playing ultimate frisbee. Out of curiosity, your GitHub profile picture appears to be a Frisbee, is it correct? If so, have you been playing for a long time? I've been playing ultimate frisbee since college which is around the time I started contributing to Django. It has been a huge part of my life since then as I made many friends and met my partner playing through the years. My commitment to ultimate frisbee can be reflected in my volume of contributions over the past decade as it requires more of my time during certain periods of the year. It also explains why I wasn't able to attend most DjangoCon in spring and fall as this is usually a pretty busy time for me. I took part in the world championships twice and I played in the UFA for about 5 years before retiring three years ago. Nowadays I still play but at a lower intensity level and I am focused on giving back to the community through coaching. How did you start using Django? Back in college I was working part time for a web agency that had an in house PHP framework and was trying to determine which tech stack and framework they should migrate to in order to ease onboarding of their developers and reduce their maintenance costs. I was tasked, with another member of the team, to identify potential candidates and despite my lack of familiarity with Python at the time we ended up choosing Django over PHP's Symphony mainly because of its spectacular documentation and third-party app ecosystem. What other framework do you know and if there is anything you would like to have in Django if you had magical powers? If I had magical powers I'd invent Python ergonomics to elegantly address the function coloring problem so it's easier for Django to be adapted to an async-ready world. I'm hopeful that the recent development on the GIL removal in Python 3.13+ will result a renewed interest in the usage of threading, which Django is well equipped to take advantage of, over the systematic usage of an event loop to deal with web serving workloads as the async world comes with a lot of often overlooked drawbacks. What projects are you working on now? I have a few Django related projects I'm working on mainly relating to ORM improvements (deprecating extra, better usage of RETURNING when available) but the main one has been a tool to keep track of the SQL generated by the Django test suite over time to more easily identity unintended changes that still pass the test suite. My goal with this project is to have a CI invokable command that would run the full Django test suite and provide a set of tests that generated different SQL compared to the target branch so its much easier to identify unintended side effects when making invasive changes to the ORM. Which Django libraries are your favorite (core or 3rd party)? DRF django-filter django-seal (shameless plug) What are the top three things in Django that you like? The people The ORM, unsurprisingly The many entry points the framework provides to allow very powerful third-party apps to be used together You've contributed significantly to improving the Django ORM. What do you believe is the next big challenge for Django ORM, and how do you envision it evolving in the coming years? The ORM's expression interface is already very powerful but there are effectively some remaining rough edges. I believe that adding generalized support for composite virtual fields (a field composed of other fields) could solve many problems we currently face with how relationships are expressed between models as we currently lack a way to describe an expression that can return tuples of values internally. If we had this building block, adding a way to express and compose table expressions (CTE, subquery pushdown, aggregation through subqueries) would be much easier to implement without denaturing the ORM by turning it into a low level query builder. Many of these things are possible today (e.g. django-cte) but they require a lot of SQL compilation and ORM knowledge and can hardly be composed together. How did you start to contribute to the ORM? What would be the advice you have for someone interested to contribute to this field? I started small by fixing a few issues that I cared about and by taking the time to read through Trac, mailing lists, and git-blame for changes in the area that were breaking tests as attempted to make changes. One thing that greatly helps in onboarding on the ORM is to at least have some good SQL fundamentals. When I first started I already had written a MSSQL ORM in PHP which helped me at least understand the idea behind the generation of SQL from a higher level abstraction. Nowadays there are tons of resources out there to help you get started on understand how things are organized but I would suggest this particular video where I attempt to walk through the different phases of SQL generation. Is there anything else you’d like to say? It has been a pleasure to be able to be part of this community for so long and I'd like to personally thank Claude Paroz for initially getting me interested in contributing seriously to the project. Thank you for doing the interview, Simon !

Django security releases issued: 5.2.1, 5.1.9 and 4.2.21

Posted by Natalia Bidart •


In accordance with our security release policy, the Django team is issuing releases for Django 5.2.1, Django 5.1.9 and Django 4.2.21. These releases address the security issues detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2025-32873: Denial-of-service possibility in strip_tags() django.utils.html.strip_tags() would be slow to evaluate certain inputs containing large sequences of incomplete HTML tags. This function is used to implement the striptags template filter, which was thus also vulnerable. django.utils.html.strip_tags() now raises a SuspiciousOperation exception if it encounters an unusually large number of unclosed opening tags. Thanks to Elias MyllymƤki for the report. This issue has severity "moderate" according to the Django security policy. Affected supported versions Django main Django 5.2 Django 5.1 Django 4.2 Resolution Patches to resolve the issue have been applied to Django's main, 5.2, 5.1, and 4.2 branches. The patches may be obtained from the following changesets. CVE-2025-32873: Denial-of-service possibility in strip_tags() On the main branch On the 5.2 branch On the 5.1 branch On the 4.2 branch The following releases have been issued Django 5.2.1 (download Django 5.2.1 | 5.2.1 checksums) Django 5.1.9 (download Django 5.1.9 | 5.1.9 checksums) Django 4.2.21 (download Django 4.2.21 | 4.2.21 checksums) The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E These releases were built using an upgraded version of setuptools, which produces filenames compliant with PEP 491 and PEP 625, addressing a PyPI warning about non-compliant distribution filenames. This change only affects the Django packaging process and does not impact Django's behavior or functionality. General notes regarding security reporting As always, we ask that potential security issues be reported via private email to security@djangoproject.com, and not via Django's Trac instance, nor via the Django Forum. Please see our security policies for further information.