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

Pinned

A lightweight, extensible Django app for private messaging, built for easy integration. websightful.gumroad.com/l/django-messa…


Aidas Bendoraitis 💻 reposted

Python tip: Use the "__post_init__" method in a dataclass for additional initialization after the default __init__ method runs. That’s useful for computing derived fields. Example 👇

testdrivenio's tweet image. Python tip:

Use the "__post_init__" method in a dataclass for additional initialization after the default __init__ method runs. 
That’s useful for computing derived fields.

Example 👇

Aidas Bendoraitis 💻 reposted

Django 6.0 released ✨ a mosaic of modern tools and thoughtful design 🎨🧩🛠️💡#Django -- djangoproject.com/weblog/2025/de…


Aidas Bendoraitis 💻 reposted

Python tip: To create fields that should not be included in the generated __init__ method, use field(init=False). This is useful for computed attributes. Example 👇

testdrivenio's tweet image. Python tip:

To create fields that should not be included in the generated __init__ method, use field(init=False). 
This is useful for computed attributes.

Example 👇

Adam introduces template partials of Django 6.0 which has just been released: adamj.eu/tech/2025/12/0…


As a web user, do you ever distrust the legitimacy of a cookie-consent dialog?


Aidas Bendoraitis 💻 reposted

Python tip: The "@dataclass" decorator automatically generates standard methods like __init__, __repr__, and __eq__ based on class attributes. Example 👇

testdrivenio's tweet image. Python tip:

The "@dataclass" decorator automatically generates standard methods like __init__, __repr__, and __eq__ based on class attributes.

Example 👇

Aidas Bendoraitis 💻 reposted

Python tip: List comprehensions can include multiple if conditions and even else. This allows complex filtering and transformation in a single, concise expression. Example 👇

testdrivenio's tweet image. Python tip:

List comprehensions can include multiple if conditions and even else. 
This allows complex filtering and transformation in a single, concise expression.

Example 👇

Loading...

Something went wrong.


Something went wrong.