TestDriven.io
@testdrivenio
Followers
38K
Following
9K
Media
2K
Statuses
24K
Teaching practical programming through real-world applications. Tweets by @MikeHerman and @JanGiacomelli.
Denver, CO
Joined December 2017
Microservices are what happens when your organization has communication problems and you decide the architecture should have them too.
73
310
3K
We're back with Feature Fridays to celebrate the 6.0 release. Starting with... background tasks! Django 6.0 includes a new Tasks framework for running code outside the request-response cycle. Neat for things like sending email or processing data... #Django #DjangoFeatureFriday
5
16
97
GTFO isn't just a game - it's a relentless fight for survival. Enter a nightmare realm where every shadow could be your last. Now 65% off on Steam!
1
1
31
Python tip: "..." is actually a Python code. Ellipsis (...) is one of a few built-in constants (along with False, True, None, and NotImplemented). Ellipsis is the only instance of the "types.EllipsisType" type and is most often used as a placeholder for future code.
1
6
17
Python tip: Modifying a mutable default argument in a Python function can lead to unexpected behavior. The default argument is only evaluated once, so changes persist across function calls. Example 👇
0
0
9
Testing Pinia Data Stores in Vue https://t.co/3PwULJnMlA This tutorial describes how to test Pinia data stores in a Vue application. by @patkennedy79
#VueJS #Pinia
testdriven.io
0
0
3
Why third-party apps are the unsung heroes of Django. Stop reinventing the wheel by learning about some great resources to keep you plugged into the ecosystem. https://t.co/8FZX1nP0Ve
#python #django
0
3
6
Overlooked typing features of recent Python versions: https://t.co/JuCDWFeyqS
0
1
0
A first look at Django's new background tasks https://t.co/AhpK0gQmti Django 6.0 introduces a built-in background tasks framework in django.tasks. But don't expect to phase out Celery, Huey or other preferred solutions just yet. #Django
roam.be
Django 6.0 introduces a built-in background tasks framework in `django.tasks`. But don't expect to phase out Celery, Huey or other preferred solutions just yet.
0
5
24
Python tip: Strings in Python are immutable. Concatenating or modifying a string creates a new string object, not modifying the original. Example 👇
0
2
11
⏳Where has the time gone?! Only 2 weeks left to submit your proposals to the #PyConUS 2026 CFP! Don’t miss out on our two brand-new Talk tracks: 🤖The Future of AI with Python 🔐Trailblazing Python Security 🗓️ CFP deadline: December 19, 2025 🔗 https://t.co/wu0G5TaAro
0
5
8
Python tip: By default, all dataclass fields are compared in __eq__. To exclude a field, use field(compare=False). This lets you control which fields affect equality, ignoring attributes like IDs. Example 👇
0
1
15
[News] Django 6.0 released Django 6.0 introduces template partials, a background task framework, Content Security Policy support, and a modern Email API based on EmailMessage. #djangonews
https://t.co/S0Twn1qHey
djangoproject.com
Posted by Natalia Bidart on Dec. 3, 2025
0
5
16
Python tip: You can make dataclass fields immutable by setting "frozen=True". This prevents modification of field values after the instance is created. Example👇
0
4
15
Pytest for Beginners https://t.co/7jcvHLYtVD This article looks at the very basics of using pytest for testing Python code. by @GirlLovesToCode
#Python #pytest @pytestdotorg
testdriven.io
0
3
23
Eventual Rust in CPython
lwn.net
Emma Smith and Kirill Podoprigora, two of Python's core developers, have opened a discussion a [...]
0
4
14
FastAPI 0.124.0 comes with better server error tracebacks. ✨ Before, if the app sent invalid data back, the server error logs would not show where the problem was. 😔 Now it shows the (clickable) file, line, function, and path operation. 📢 Thanks @savostrowski! 🙌
5
20
243
There is one thing you can start doing right now that will make your Python API 10 times better. Limit methods to 1 or 2 positional arguments, and make the rest keyword only. The positional arguments should be the key information, i.e. the thing that is being acted upon. In
8
6
121
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 👇
0
6
19