C
C
Cyber_bober2016-03-10 04:03:19
Django
Cyber_bober, 2016-03-10 04:03:19

How to display all records of a logged in user?

Do I need to pass the user id via url or is it possible to get it inside the model?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Voronkov, 2016-03-10
@DmitryVoronkov

request.user.pk

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question