Categories
How to get user data by id Django 1.9?
Novice programmer. I ran into a problem, there is a user id and you need to find out the rest of his data from it, how can this be done? using sqlite
Answer the question
In order to leave comments, you need to log in
User.objects.get(pk=you_know_it) So what?
https://docs.djangoproject.com/ja/1.9/topics/auth/...
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question