Aug. 16, 2024 » Anže’s Blog » [Archived Version]
Adding special syntax to Javascript or Python to allow Go-like error handling feels like a good idea at first glance, but I think it doesn't improve the issues with error handling in these two languages.
Read MoreAug. 16, 2024 » Django on Matt Layman » [Archived Version]
In this episode, we continued the break from JourneyInbox to look through more of the Go standard library. In this session, we explored JSON serialization, Go template support, and embedding of static files for easy access.
Read MoreAug. 16, 2024 » Django on Matt Layman » [Archived Version]
In this episode, we continued the break from JourneyInbox to look through more of the Go standard library. In this session, we explored JSON serialization, Go template support, and embedding of static files for easy access.
Read MoreAug. 14, 2024 » Matthias Kestenholz: Posts about Django » [Archived Version]
Weeknotes (2024 week 33) Partying It’s summer, it’s hot, and it’s dance week. Lethargy is over, Jungle Street Groove is coming up. Good times. Releases django-json-schema-editor 0.1: I have finally left the alpha versioning. I’m still not committing to backwards compatibility, but I have started writing a CHANGELOG. django-prose-editor 0.7.1: Thanks to Carlton’s pull request I have finally cleaned up the CSS somewhat and made overriding the styles more agreeable when using the editor outside t…
Read MoreAug. 14, 2024 » Paolo Melchiorre » [Archived Version]
The Python Software Foundation made me a PSF fellow member, along with Adam Johnson.
Read MoreAug. 13, 2024 » Adam Johnson » [Archived Version]
argparse, the standard library module that Django uses for parsing command line options, supports sub-commands. These are pretty neat for providing an expansive API without hundreds of individual commands. Here’s an example of using sub-commands in a Django management command: from django.core.management.base import BaseCommand class Command …
Read MoreAug. 13, 2024 » Simon Willison's Weblog: django » [Archived Version]
New Django {% querystring %} template tag Django 5.1 came out last week and includes a neat new template tag which solves a problem I've faced a bunch of times in the past. {% querystring color="red" size="S" %} Adds ?color=red&size=S to the current URL - keeping any other existing parameters and replacing the current value for color or size if it's already set. {% querystring color=None %} Removes the ?color= parameter if it is currently set. If the value passed is a list it will append ?col…
Read MoreAug. 9, 2024 » Django News » [Archived Version]
News Django 5.1 released Django 5.1 was released, featuring the new LoginRequiredMiddleware for easier authentication and several accessibility enhancements, including improved screen reader support and more semantic HTML elements. There is also a querystring template tag simplifies query string handling in templates. djangoproject.com Django security releases issued: 5.0.8 and 4.2.15 The Django team has issued security releases 5.0.8 and …
Read MoreAug. 8, 2024 » Simon Willison's Weblog: django » [Archived Version]
Yesterday I finally developed something I’ve been casually thinking about building for a long time: django-http-debug. It’s a reusable Django app - something you can pip install into any Django project - which provides tools for quickly setting up a URL that returns a canned HTTP response and logs the full details of any incoming request to a database table. This is ideal for any time you want to start developing against some external API that sends traffic to your own site - a webhooks provide…
Read MoreAug. 7, 2024 » The Django weblog » [Archived Version]
The Django team is happy to announce the release of Django 5.1. The release notes showcase a kaleidoscope of improvements. A few highlights are: Easier guardrails for authentication: the new and shiny LoginRequiredMiddleware, when added to MIDDLEWARE, enforces authentication for all views by default. A more inclusive framework: Django 5.1 includes several accessibility enhancements, such as improved screen reader support in the admin interface, more semantic HTML elements, and better associati…
Read More