How to add custom data fields to multiple user types with Django in a maintainable way that lets us easily use Django forms or DRF serializers. Features an exciting ending with a coffee cup!
Continues from where the "Multiple User Types | Django video finishes. See that video at https://youtu.be/f0hdXr2MOEA
Like this video? Enroll in my next live, online class "Django Best Practices the Two Scoops Way" at https://events.eventzilla.net/e/django-best-practices-the-two-scoops-way-2138797976
Source code for this video: https://github.com/pydanny/multiple-user-types-django
Django OneToOneField docs: https://docs.djangoproject.com/en/3.0/ref/models/fields/#django.db.models.OneToOneField
----
Follow me:
- Twitter: https://twitter.com/pydanny
- LinkedIn: https://www.linkedin.com/in/danielfel...
- Twitch: https://www.twitch.tv/danielfeldroy
I'm also known as "pydanny" and "Daniel Roy Greenfeld". Support my stream and coding efforts:
- Buy my books at https://feldroy.com!
- Sponsor me on github: https://github.com/sponsors/pydanny