This page is still under construction.

back to posts

Multiple User Types by Daniel Feldroy

1:00 Use proxy models for different type of users.

class User (AbstractUser):
  ...

class Spy(User):
  class Meta:
    proxy=True

4:00 models.TextChoices is Enum but built for Django.

7:50 manage.py shell_plus creates a shell with all the imports.

If you found it useful, please consider signing up to my newsletter. Every week, I share my thoughts on cool stuff I found around the internet. No spam, ever. Unsubscribe any time.