Link to home
Start Free TrialLog in
Avatar of coder
coderFlag for Australia

asked on

Issue with django debugging

Hi Experts,

I have the following details when I debug the django application.

(Pdb) Contributor.objects.all()
<QuerySet [<Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, <Contributor: Contributor object>, '...(remaining elements truncated)...']>

Open in new window


I am not able to see the values of the contributor values.  Please correct me where I am making wrong.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of gelonida
gelonida
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of coder

ASKER

Thanks for your suggestion.  Now I try to implement __str__ in the class

Thanks