Jack Linke 🦄<p>I really, really like the django_enum package.</p><p>Imagine Django's TextChoices/IntegerChoices classes, but with the ability to encapsulate any additional information for each choice in one place.</p><p>I don't use it everywhere, but it's super useful in a number of use-cases.</p><p>Here are a few places where I've found django_enum makes things easier. See alt text for more detail about how I use of each of these.</p><p>Check it out: <a href="https://django-enum.readthedocs.io/en/stable/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">django-enum.readthedocs.io/en/</span><span class="invisible">stable/</span></a></p><p>And follow: <span class="h-card" translate="no"><a href="https://fosstodon.org/@bckohan" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>bckohan</span></a></span> </p><p><a href="https://social.jacklinke.com/tags/Django" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Django</span></a> <a href="https://social.jacklinke.com/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://social.jacklinke.com/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://social.jacklinke.com/tags/Enums" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Enums</span></a></p>