DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+7 =
Submit