K
K
KollRoll2019-10-22 16:31:55
Django
KollRoll, 2019-10-22 16:31:55

What is the difference between "settings.AUTH_USER_MODEL" and "get_user_model()"?

What is the difference between "settings.AUTH_USER_MODEL" and "get_user_model()"?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Tikhonov, 2019-10-22
@KollRoll

In the first case, a string is returned, in the second, the user model class

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question