WE’RE BACK! Tell your friends! 🥳
Kicking off another season of @djangochat 🎙️
Join @wsvincent and I as we rant about who knows what — I’m not going to spoil it, you have to listen 📻 — but… well… Django 🦄
https://djangochat.com/episodes/fall-2024-podcast-relaunch #Django
Available wherever you get your podcasts now 🤩
"Frameworks are overhead. You need to learn them. They can be in the way. They may have performance implications.
Why not just avoid them altogether? Use the platform, whether that may be the web browser or the operating system or whatever else.
I think this is an illusion. A platform is already a framework. If it fits what you want to do, great. But it may just not be a great framework for your particular purpose."
New post on how we ended up writing an alternative Django admin, and a followup to @jacob 's post about how the original Django admin came to be.
We will be back in two weeks with a new season of episodes.
If you'd like to advertise on the podcast and reach thousands of committed Django developers, you can find more info here:
https://docs.google.com/document/d/1o685nBm2z5S2cwPvK2kMeT2vPIL3UbD94tR4v26Wt-I/edit?usp=sharing
If you like #Python, you should try listening to the core.py #podcast with @ambv and pablogsal
It goes pretty deep, and I understand a little more each episode.
Hearing Pablo's "wawwww" now and then and other nerdy jokes make me laugh!
"Python's Preprocessor", a really amazing blog post about abusing customs codecs to do arbitrary preprocessing steps on python files before the VM sees it: https://pydong.org/posts/PythonsPreprocessor/
Examples include: Python with braces, adding x++ etc to Python, but the best one is clearly running (very lightly prepared) C++ code with the python vm using the cppyy module (!) by running 'python test.cpp'
Fun news, Python 3.14 will allow "python -m json" as well as "python -m json.tool".
This was my first code contribution to #Python. 🥳
It was a small but slow-rolling change (wrote an article months ago that had me wonder about the need for "json.tool", looked into it, got confirmation and encouragement from core devs that this might make sense to change, and made the change).
#Python 3.12.5 is out!
beautiful
On macOS, `pipx run --python 3.12 mopup` is so much better than any of the on-demand builders and their various weird failure modes. Even standalone-python has failed on me in practice due to the way it’s compiled.
My favorite feature remains that it’s a universal build with a force-x86 binary called `python3.12-intel64` that makes it easy to create virtualenvs that are guaranteed to be Intel-base (and not ARM).
https://blog.glyph.im/2023/08/get-your-mac-python-from-python-dot-org.html
Tracing the evolution of a Python function with git log
The article explains how to use the git log -L command to trace the evolution of a specific function in a Python file, providing a more focused view of code changes over time. It demonstrates the process using an example from the Authlib package, highlighting the importance of setting up .gitattributes for Python files and showcasing how this method can help in debugging and understandin...
https://nerderati.com/tracing-the-evolution-of-a-python-function-with-git-log/
Django 5.1 released
The Django team is happy to announce the release of Django 5.1.
The release notesshowcase a kaleidoscope of improvements. A few highlights are:
Easier guardrails for authentication: the new and shiny LoginRequiredMiddleware,when added to <tt class="docutils literal">MIDDLEWARE</tt>, enforces authentication for all views by default.
A more inclusive framework: Django 5.1 includes several accessibilityenhancements, such as improved screen reader support in the admininterface, more semantic HTML elements, and better association of help textand labels with form fieldsets.
The second oldest ticket fixed in this release provides the long awaitedquerystring template tag,which greatly simplifies the handling of query strings when building URLs intemplates.
(If you are curious about the oldest ticket fixed in this release, check out Ticket #10743.)
You can get Django 5.1 from our downloads page or from the Python Package Index. The PGP key ID used for thisrelease is Natalia Bidart: 2EE82A8D9470983E.
With the release of Django 5.1, Django 5.0 has reached the end of mainstreamsupport. The final minor bug fix release, 5.0.8, was issued yesterday.Django 5.0 will receive security and data loss fixes until April 2025. Allusers are encouraged to upgrade before then to continue receiving fixes forsecurity issues.
See the downloads page for a table ofsupported versions and the future release schedule.
https://www.djangoproject.com/weblog/2024/aug/07/django-51-released/
We have just released eGenix PyRun 2.5.0 - A Python runtime taking up only 6MB on disk, making it ideal to product distributions, container images and even local venvs.
https://www.egenix.com/company/news/eGenix-PyRun-2.5.0-GA.html
It has been said that the great scientific disciplines are examples of giants standing on the shoulders of other giants. It has also been said that the software industry is an example of midgets standing on the toes of other midgets.
— Alan Cooper
I’m very exhausted to announce attrs 24.1.0!
It comes severely delayed, but I hope the many bug fixes, speed improvements, and features like __attrs_init_subclass__ or three-argument converters make the wait worth it.
Many thanks go to Klaviyo for their continued support at The Dedicated Organization tier!
https://github.com/python-attrs/attrs/releases/tag/24.1.0 #Python
Neue Episode: @shezi, Dominik und @jochen unterhalten sich über das Python Data Model: https://python-podcast.de/show/das-python-data-model/ #Python
Just published: A complete guide to implementing SSO with SAML in Django. Have a look! #Django #SSO #SAML https://wersdoerfer.de/blogs/ephes_blog/implementing-single-sign-on-sso-with-saml-for-a-django-application/
My talk from @djangoconeurope is now available online - Go give it a watch! https://www.youtube.com/watch?v=RxcRBNqxjeY
Then, after that, go give django-tasks a try: https://github.com/realOrangeOne/django-tasks
📢 The rest of the videos from DjangoCon Europe 2024 are now live on our YouTube channel! 📺✨
Watch all the keynotes, talks, and workshops you missed: https://www.youtube.com/@DjangoConEurope/videos
Neapolitan v24.5 is now available on PyPI. Fixes a wee issue in 24.4 that you almost certainly didn't notice. Thanks @EmmaDelescolle 🎁
$ pip install -U neapolitan
Enjoy! 🦄
Neue Episode: Ronny, Dominik und @jochen unterhalten sich über die DjangoCon Europe 2024: https://python-podcast.de/show/djangocon-europe-2024/
I am standing for election to the board of the Python Software Foundation - you can read my pitch and those of the other candidates at https://www.python.org/nominations/elections/2024-python-software-foundation-board/nominees/ . Cc @ThePSF
🎉 News Django News Newsletter: Django News - Django 5.1 beta 1 and Python 3.13.0 beta 3 released - Jun 28th 2024
Django 5.1 beta 1 released
Django 5.1 beta 1 is now available. It represents the second stage in the 5.1release cycle and is an opportunity for you to try out the changes coming inDjango 5.1.
Django 5.1 brings a kaleidoscope of improvements which you can read about inthe in-development 5.1 release notes.
Only bugs in new features and regressions from earlier versions of Django willbe fixed between now and the 5.1 final release. Translations will be updatedfollowing the "string freeze", which occurs when the release candidate isissued. The current release schedule calls for arelease candidate in a month from now, and a final release to follow about twoweeks after that, scheduled for August 7th.
Early and frequent testing from the community will help minimize the number ofbugs in the release. Updates on the release schedule are available on theDjango forum.
As with all alpha and beta packages, this is not for production use. But ifyou'd like to take some of the new features for a spin, or to help find and fixbugs (which should be reported to the issue tracker), you can grab a copy of the betapackage from our downloads page oron PyPI.
The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E.
https://www.djangoproject.com/weblog/2024/jun/26/django-51-beta-1-released/
htmx 2.0.0 has been released!