Re:Show HN: Django and React SaaS boilerplate tutorial
by pplonski86 on Wednesday December 23, 2020 @11:07AM
(#25519014)
The tutorial is still under the development and I will update the User model logic for sure (for payments and teams features). The 'wild' overwrite of User model was minimal to set email as required field in User model.
Re:Show HN: Django and React SaaS boilerplate tutorial
by disgrunt on Wednesday December 23, 2020 @11:41AM
(#25519405)
Django now just recommends a custom user model if you intend to change it. In my experience, this is now a best practice in Django. [0]
[0]: https://docs.djangoproject.com/en/3.1/topics/auth/customizin...
Re:Show HN: Django and React SaaS boilerplate tutorial
by wbc on Wednesday December 23, 2020 @11:39AM
(#25519388)
What are your thoughts on AbstractUser https://docs.djangoproject.com/en/3.1/topics/auth/customizin...?
ie.
Their approach in accounts models.py:
https://github.com/saasitive/django-react-boilerplate/blob/m...
Over the standard approach in their notes models.py:
https://github.com/saasitive/django-react-boilerplate/blob/m...