Getting the Most Out of Django's User Model

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 16

  • @jamescapparell5673
    @jamescapparell5673 Год назад

    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.

  • @chakubb
    @chakubb 5 лет назад +2

    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.

  • @georgesmith3022
    @georgesmith3022 4 года назад +3

    when I want to have different types of users, what model do I use?

    • @blabla-kk8bl
      @blabla-kk8bl 3 года назад +1

      abstractuser model, use django-organization.

  • @davidbrown2806
    @davidbrown2806 6 лет назад +2

    Very informative place to start to learn about authentication

  • @makemeboom
    @makemeboom 4 года назад +1

    Saving my life in 2020.

  • @chakubb
    @chakubb 5 лет назад

    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?)

  • @travelloussapien8732
    @travelloussapien8732 5 лет назад

    I'm getting below error ,while doing migration
    AttributeError: 'ShootUser' object has no attribute 'is_anonymous'
    ShootUser is my Custom User model

  • @kushalghimire4206
    @kushalghimire4206 4 года назад

    Loved the whole session... Couldn't grab most of it at the last ten minutes due to copy and paste...

  • @tarangranpara5913
    @tarangranpara5913 5 лет назад

    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?

    • @3dln
      @3dln 5 лет назад

      you address the User model and automatically update the profile model using signals

  • @jnscollier
    @jnscollier 4 года назад +1

    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/

  • @rakib17874
    @rakib17874 3 года назад

    Very Helpful !!!! THANKS

  • @ndukwejoe123
    @ndukwejoe123 6 лет назад +1

    thanks for sharing

  • @MasteryiporoHU3OYER
    @MasteryiporoHU3OYER 5 лет назад +1

    SUBLIME TEAM :v