mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

377K
active users

@bmispelon great post Baptiste!

I've used a similar approach in a somewhat similar situation with Wagtail pages.

I had a queryset of 'generic' pages that I want to annotate a field to. Say 'author'. Not all page models have an author text field, so I used a similar When construct to only annotate this field for the page types that have it. Works well! Should probably document it in a blog post too... 📝

The contenttypes app is a hidden gem if you ask me.