Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get user id django

if request.user.is_authenticated:
    # Do something for authenticated users.
else:
    # Do something for anonymous users.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #user #id #django
ADD COMMENT
Topic
Name
6+6 =