Aidas Bendoraitis (DjangoTricks)
banner
djangotricks.bsky.social
Aidas Bendoraitis (DjangoTricks)
@djangotricks.bsky.social
on development with Django, Python, and JavaScript 🐍
founder, developer, author, creator, dad of 2, he/him
Currently developing https://pybazaar.com
These days, my 8-year-old son and I are creating a stick-figure platform game, adding features one by one. It's a nice mix of creative expression, communication, and computer education for both of us.
September 5, 2025 at 8:29 PM
Daylight Saving Time messes up productivity apps.
March 30, 2025 at 2:01 AM
I can't tell if this is much more readable, but my proposed alternative would be using the builtin template tag `{% include %}`, as follows:
February 24, 2025 at 10:19 AM
django-allauth templating decisions are so complicated. Custom template tags for HTML tags make it hard to read, restructure, or adapt a CSS theme to them.

It's like inventing a new programming language based on Django template engine.
February 23, 2025 at 11:08 PM
From time to time, I have to use this pattern in Django templates. But it's easy to miss a variable when editing such a snippet. Are there any patterns that would allow checking only individual conditions and would apply the wrapper if any of them are found?
February 22, 2025 at 3:12 PM
February 7, 2025 at 2:47 AM