
In this article, we show how to leverage the tabulate Python module, so we can print good-looking querysets in our Django shell.

In this article, we show how to leverage the tabulate Python module, so we can print good-looking querysets in our Django shell.
Django 5.2 was released last Wednesday, another exciting step forward for our favourite web framework. It comes with a composite of new features, contributed to by many, some of which I am happy to have helped with. Below is my pick of highlights from the release notes.
Posted by Sarah Boyce on March 19, 2025
how to put a set of endpoints under an auth like restriction?
i'm completely new to the django eco system, coming from flask.
what i want (and don't know how to accomplish) is to put some restrictions to a set of urls: x/<uuid>/images
x/<uuid>/imageupload
and others should only work, if uuid
can be found in the database and is still valid.
in flask i would probably use a blueprint, but this concept does not seem to exist in django, right?
what i like about the blueprint concept is, that it's not possible to add a url under the x/<uuid>
"namespace" and forgetting about the auth mechanism, as this is handled for all urls in the blueprint.
how would you handle this in django?
i've already learned about apps and a custom middleware, but this looks quite complicated on first sight? as the middleware always intercepts all requests, and i would have to check on my own if this is a request to x/<uuid>
?
i've also looked at existing apps, and [django-rq uses the statt_member_required
decorator](https://github.com/rq/django-rq/blob/fe539b6
A compendium of themes for the Django admin (with screenshots!) - adamghill/awesome-django-admin-themes
Posted by Sarah Boyce on March 6, 2025
A Django pluggable app to create ActivityPub Servers and/or integrate your existing app with the Fediverse
A Django pluggable app to create ActivityPub Servers and/or integrate your existing app with the Fediverse
When you have admin users in multiple time zones, the way Django handles the input and display of dates and times is causing confusion. Here’s how you can improve things.
Run your tests against Django's main! – Django London Meetup, 13 February 2025 - YouTube
Click to view this content.
Announcing Django Shinobi
For those who have been following or been involved with recent development of Ninja, you’ll notice that for about a year, almost all development has come to a halt. About 50 PRs have built up on th...
For those who have been following or been involved with recent development of Ninja, you’ll notice that for about a year, almost all development has come to a halt. About 50 PRs have built up on the GitHub repository, many of which fix crucial issues, but are not getting any feedback and have no path forward to getting them merged. PRs that fix documentation will get merged in a day, but most PRs that touch code are left out to dry. Among these PRs include performance improvements, the validation vs. serialization split, my own fix for aliases, and much more. It's getting desperate enough that people are posting monkeypatches in the PRs.
I have spoken with Ninja's maintainer a bit about the issue and I think it's mostly just a split in priorities between him and myself. That's totally reasonable and respectable, its his project. But as a user of the library, I can't really say that I feel supported by this direction, and I would assume from the many repeated requests for revi
Posted by Natalia Bidart on Feb. 5, 2025
MongoDB Django Backend Now Available in Public Preview
MongoDB Django Backend is available for public preview, try it today to help drive development.
This article explores the basics of database indexing, its advantages and disadvantages, and how to apply it in a Django application.
I use django-apscheduler to run a queue of scheduled tasks. Now I also need the ability to run one-off tasks and that turned out to not be so simple.
A cheat sheet of common testing recipes for Django applications.