Dec. 10, 2024 » » [Archived Version]
How to create unique, but obfuscated URLs in Django.
Read MoreDec. 10, 2024 » » [Archived Version]
Run multiple Django projects on a $6/month Digital Ocean cloud server using CapRover.
Read MoreDec. 10, 2024 » » [Archived Version]
How to search within a certain area with Postgres and Django.
Read MoreDec. 10, 2024 » » [Archived Version]
Libraries that I always use with Django.
Read MoreDec. 10, 2024 » » [Archived Version]
Somewhat surprising behavior that could trip you up and cause confusion while using custom template tags.
Read MoreDec. 10, 2024 » » [Archived Version]
How to optimize Django ORM queries to improve site performance.
Read MoreDec. 10, 2024 » Software Crafts » [Archived Version]
Knowing where and where templates execute in relation to the browser
Read MoreDec. 9, 2024 » blog.bmispelon.rocks » [Archived Version]
Using a temporary storage backend inside a Django test Published on December 9th Today I ran across an issue involving storages and staticfiles during tests. I was surprised not to find any quick solution online so here's my quick attempt at a solution. First the code, then some explanations: import shutil import tempfile class TempDirMediaRootMixin: @classmethod def setUpClass(cls): cls.tmpdir = tempfile.mkdtemp() super().setUp…
Read MoreDec. 6, 2024 » Matthias Kestenholz: Posts about Django » [Archived Version]
Weeknotes (2024 week 49) Django Steering Council elections I have been thinking long and hard about running for the Django Steering Council. I think there are a few things I could contribute since I’ve been using Django for 16 or more years, and have been working on, maintaining and publishing third-party apps almost all this time. I have also contributed a few small features to Django core itself, and contributed my fair share of tests and bugfixes. The reason why I haven’t been more involved …
Read More