Your approach i.e. describing the differences in user models is very good IMO. Provides a good grounding by example to those of us trying to learn. That said, hemming and hawing indicates lack of preparation a good presentation is a practiced presentation.
This is a super awesome video, such clarity has been added to my understanding in this area. I have read so many uninformative blog post on this subject. Thank you.
A question, though. I created something similar with Django REST, but, when I return the Profile object to the client I also have the User model serialised, my Q is how can I strip this filed from the Response object. ( I think /i answered this as I was typing, should I just avoid serialising it?)
AbstractUser vs AbstractBaseUser was a good question. It's too bad the presenter didn't answer that. You can find an awesome answer for that here: testdriven.io/blog/django-custom-user-model/
Your approach i.e. describing the differences in user models is very good IMO. Provides a good grounding by example to those of us trying to learn. That said, hemming and hawing indicates lack of preparation a good presentation is a practiced presentation.
This is a super awesome video, such clarity has been added to my understanding in this area. I have read so many uninformative blog post on this subject. Thank you.
when I want to have different types of users, what model do I use?
abstractuser model, use django-organization.
Very informative place to start to learn about authentication
Saving my life in 2020.
A question, though. I created something similar with Django REST, but, when I return the Profile object to the client I also have the User model serialised, my Q is how can I strip this filed from the Response object. ( I think /i answered this as I was typing, should I just avoid serialising it?)
I'm getting below error ,while doing migration
AttributeError: 'ShootUser' object has no attribute 'is_anonymous'
ShootUser is my Custom User model
Loved the whole session... Couldn't grab most of it at the last ten minutes due to copy and paste...
i had a question:
whenever we sign up the user from our app, do we have to address User model or Profiles model while using oneToOne field?
you address the User model and automatically update the profile model using signals
AbstractUser vs AbstractBaseUser was a good question. It's too bad the presenter didn't answer that. You can find an awesome answer for that here:
testdriven.io/blog/django-custom-user-model/
Very Helpful !!!! THANKS
You're welcome!
thanks for sharing
SUBLIME TEAM :v