Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get user id django

def sample_view(request):
    current_user = request.user
    print current_user.id
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #user #id #django
ADD COMMENT
Topic
Name
6+7 =