Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how do i get auth user model dynamically in django?

from django.contrib.auth import get_user_model

UserModel = get_user_model()
 
PREVIOUS NEXT
Tagged: #auth #user #model #dynamically
ADD COMMENT
Topic
Name
3+1 =