DjangoTricks's profile picture. on development with Django, Python, and JavaScript 🐍
founder, developer, author, creator, dad of 2, he/him
Currently developing https://pybazaar.com

Aidas Bendoraitis 💻

@DjangoTricks

on development with Django, Python, and JavaScript 🐍 founder, developer, author, creator, dad of 2, he/him Currently developing https://pybazaar.com

고정된 트윗

Django Paddle Subscriptions app for Django developers who want to scale their SaaS globally: websightful.gumroad.com/l/django-paddl…


Hello Python developers! I have just finished the MVP for a new PyBazaar feature: messaging. Can you please help me test it. Just register, publish a profile, and contact me via a button at a bottom right corner (not visible for anonymous visitors): pybazaar.com/profiles/archa…


Aidas Bendoraitis 💻 님이 재게시함

Introduction to Django Channels testdriven.io/blog/django-ch… Learn how to build a real-time application with Django Channels, focusing on how to integrate Django with Django Channels. #Django


Aidas Bendoraitis 💻 님이 재게시함

Python Tip: An iterable is any object you can loop over (like a list or string). An iterator is what iter(iterable) returns - an object that produces items one by one with next(). Example 👇

testdrivenio's tweet image. Python Tip:

An iterable is any object you can loop over (like a list or string). 
An iterator is what iter(iterable) returns - an object that produces items one by one with next().

Example 👇

Aidas Bendoraitis 💻 님이 재게시함

Clean Code Tip: Decorators add reusable functionality to functions and support the Separation of Concerns principle. They keep code modular and clean—master them for more Pythonic design. Example 👇

testdrivenio's tweet image. Clean Code Tip:

Decorators add reusable functionality to functions and support the Separation of Concerns principle. 
They keep code modular and clean—master them for more Pythonic design.

Example 👇

TIL, just like JavaScript has its little brother JSON, Python has a sister language Starlark used to describe builds for other languages like C++ or Scala.


I'll need some help of you testing something.


Aidas Bendoraitis 💻 님이 재게시함

How to find faces in photos using #Python and OpenCV

driscollis's tweet image. How to find faces in photos using #Python and OpenCV

Aidas Bendoraitis 💻 님이 재게시함

The frontend story in Django is shifting: ⚡ @htmx_org and @Alpine_JS are on the upswing ⬇️ React and jQuery are declining in usage The trend? A return to server-rendered templates and simpler interactivity. More trends: 🔗 jb.gg/django25 🔗 What frontend setup have…

pycharm's tweet image. The frontend story in Django is shifting: 

⚡ @htmx_org and @Alpine_JS are on the upswing
⬇️ React and jQuery are declining in usage

The trend? A return to server-rendered templates and simpler interactivity. More trends: 🔗 jb.gg/django25 🔗

What frontend setup have…

I have just updated this blog post suggesting to use bump-my-version instead of the deprecated bump2version: djangotricks.com/blog/2021/11/h…


Aidas Bendoraitis 💻 님이 재게시함

From learning to coding, #AI is changing how #Django devs work. 🤖 38% use AI tools to learn Django 💬 69% use @ChatGPTapp 💡 56% use AI to autocomplete code Learn more in the State of Django 2025 blog post: jb.gg/django25

pycharm's tweet image. From learning to coding, #AI is changing how #Django devs work.

🤖 38% use AI tools to learn Django
💬 69% use @ChatGPTapp 
💡 56% use AI to autocomplete code

Learn more in the State of Django 2025 blog post: jb.gg/django25

Aidas Bendoraitis 💻 님이 재게시함

Clean Code Tip: Choose clear, intention-revealing, and pronounceable names. Avoid cryptic abbreviations. Longer but explicit names make code easier to read and explain. Example 👇

testdrivenio's tweet image. Clean Code Tip:

Choose clear, intention-revealing, and pronounceable names. 
Avoid cryptic abbreviations. Longer but explicit names make code easier to read and explain.

Example 👇

Aidas Bendoraitis 💻 님이 재게시함

Python's "walrus" operator allows you to assign values to variables within an expression Here are some examples:

driscollis's tweet image. Python's "walrus" operator allows you to assign values to variables within an expression

Here are some examples:

TIL, there is the incron service which is similar to crontab, but executes scripts based not on timing, but on file change, e.g. when a certain file is updated.


If Augment Code gets stuck generating code, just tell it: "continue, don't be shy" 😂


Aidas Bendoraitis 💻 님이 재게시함

Front-end developers after putting a HTML <button> tag in a JS file and then importing it into another JS file and then rendering it on the server and then hydrating it on the browser just to get the original HTML <button> tag again.

Saadeghi's tweet image. Front-end developers after putting a HTML &amp;lt;button&amp;gt; tag in a JS file and then importing it into another JS file and then rendering it on the server and then hydrating it on the browser just to get the original HTML &amp;lt;button&amp;gt; tag again.

Loading...

Something went wrong.


Something went wrong.