I am facing one issue. I am trying to fetch my tables values using the `id` in python but its not coming at all. I am explaining my code below.

```
 pers = User.objects.get(pk=request.session['id'])
    root = []
    print(pers)
    user_name = pers.uname
    count = 1
    root.append(
        {'username': user_name,
             })
    return render(request, 'bookingservice/home.html', {'user': root, 'count': 1})

```

Here I am printing the `pers` value but its showing `User object`. Here I need to fetch the row values as per id present inside session. Please help me.