Aidas Bendoraitis (DjangoTricks)'s Avatar

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

27 Followers  |  31 Following  |  593 Posts  |  Joined: 24.01.2025
Posts Following

Posts by Aidas Bendoraitis (DjangoTricks) (@djangotricks.bsky.social)

Preview
About Checking Permissions with django-guardian in a Template Generically

About Checking Permissions with django-guardian in a Template Generically
www.djangotricks.com/tricks/7w4qu...

05.03.2026 22:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Using Wildcards with the SCP Command

About Using Wildcards with the SCP Command
www.djangotricks.com/tricks/3UTKS...

05.03.2026 22:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

"Python Unplugged on PyTV" is almost here.

🎀 Live Python talks on YouTube
πŸ’¬ Real conversations
βœ‚οΈ No edits

Join us tomorrow at 11:00 am – 6:30 pm CET.

πŸ‘‰ Save the date: https://www.youtube.com/watch?v=qKkyBhXIJJU

03.03.2026 14:00 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
About Admin List Filter with Options Limited to Existing Relations

About Admin List Filter with Options Limited to Existing Relations
www.djangotricks.com/tricks/7wMJz...

04.03.2026 09:57 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

What a day. I found two bugs in two different software products related to finances (invoices) that slow down my bookkeeping processes. I hope they will fix them soon! 🀞

02.03.2026 19:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Checkboxes in Markdown-based HTML

About Checkboxes in Markdown-based HTML
www.djangotricks.com/tricks/32xmf...

02.03.2026 13:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Merging Sets and Dictionaries

About Merging Sets and Dictionaries
www.djangotricks.com/tricks/34P4X...

02.03.2026 13:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Installing Any Python Version on a Remote Server with pyenv and Ansible

About Installing Any Python Version on a Remote Server with pyenv and Ansible
www.djangotricks.com/tricks/7e7tD...

02.03.2026 13:21 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I used up all my monthly AI credits in a few days while creating product requirements documents for make-impact.org. For a (summarized) sneak peak, check the Roadmap on the website.

Next weekend, I'll continue with (vibe) engineering.

01.03.2026 16:07 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

As a web developer who uses block-based rich text editors such as EditorJS or Quill, have you ever had to render the rich text as anything else than HTML?

28.02.2026 09:50 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Debugging

About Debugging
www.djangotricks.com/tricks/7LZnU...

28.02.2026 00:37 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Avoiding Circular Imports

About Avoiding Circular Imports
www.djangotricks.com/tricks/f6BQt...

28.02.2026 00:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Using tox to Test a Django App Across Multiple Django Versions

Configuring tox isn’t completely straightforward, so I wrote a guide that explains how to set it up for testing a Django app across different Python and Django versions.

www.djangotricks.com/blog/2026/02...

27.02.2026 13:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
About User Sessions on Login

About User Sessions on Login
www.djangotricks.com/tricks/4FxPJ...

26.02.2026 18:24 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Nice video style. Like MTV.

26.02.2026 18:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Accessing Django Project Code from a Python Script

About Accessing Django Project Code from a Python Script
www.djangotricks.com/tricks/75Mug...

26.02.2026 18:21 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
About Nullable Boolean Fields

About Nullable Boolean Fields
www.djangotricks.com/tricks/7wsxp...

26.02.2026 18:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Questionary Library for Settings Selection

About Questionary Library for Settings Selection
www.djangotricks.com/tricks/637zR...

25.02.2026 10:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

pyenv frustrations:

Today I found out that accidental `pyenv local 3.14.0` in the home directory created `~/.python-version` which made python3.8, python3.9,...,python3.13 unreachable.

Therefore, tox failed to work as expected.

Deleting `~/.python-version` solved the problem.

24.02.2026 21:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

One annoying thing about Claude Code is that it completely ignores the mouse.

For example, you can't select a word in a written prompt and delete it, or put a cursor to a different position.

I'd like that to be solved in the near future.

24.02.2026 20:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Creating PostgreSQL Extensions in Test Environment

About Creating PostgreSQL Extensions in Test Environment
www.djangotricks.com/tricks/4K4cv...

24.02.2026 12:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About In-memory Template Loader

About In-memory Template Loader
www.djangotricks.com/tricks/7Dy9d...

24.02.2026 12:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Free LLMs for Product Requirement Documents

About Free LLMs for Product Requirement Documents
www.djangotricks.com/tricks/VWV5F...

24.02.2026 12:19 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

There are lots of bounty seekers who search for vulnerabilities, so that can be even annoying for the companies.

Many companies have some lines in their terms of use not allowing the users to try hacking their systems. So from a legal perspective, that might be a valid point.

22.02.2026 11:42 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
In a Python REPL, the following code is entered: '🍎' > '🍊'
The result is True

In a Python REPL, the following code is entered: '🍎' > '🍊' The result is True

People say you shouldn't compare apples and oranges but it seems to work fine for me in Python 3.14, I don't see what the issue is...

21.02.2026 22:28 β€” πŸ‘ 55    πŸ” 9    πŸ’¬ 4    πŸ“Œ 0

Python tip: for precision, use Decimals instead of floats.

22.02.2026 10:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
About Floating Point Arithmetic Problems

About Floating Point Arithmetic Problems
www.djangotricks.com/tricks/5HQAt...

22.02.2026 10:43 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
About the Performance Improvements

About the Performance Improvements
www.djangotricks.com/tricks/7PGPC...

22.02.2026 10:40 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - websightful/django-clearplaintext: Provides a Django template filter that normalizes plain text while allowing explicit whitespace control. Provides a Django template filter that normalizes plain text while allowing explicit whitespace control. - websightful/django-clearplaintext

I don't know how I survived creating plain-text emails and dynamic markdown documents without django-clearplaintext.

Today I released that utility app to help me and you with whitespace characters within logical blocks in Django templates.
github.com/websightful/...

21.02.2026 15:19 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

These days AI helps you spend less time on that :)

21.02.2026 15:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0