Hi Djangoers,
I am almost completing my first tutorial but got stuck at the last point. So I am assigning Choice object to 'c',
c = p.choice_set.filter(choice_text__startswith='Just')
And I am getting this output when I check 'c'
[<Choice: Just Hacking again>]
And I am also getting the right output for 'p'
But when I am executing,
This is my output,
Traceback (most recent call last):
File "<console>", line 1, in <module>
AttributeError: 'QuerySet' object has no attribute 'poll'
Not sure where I am going wrong?
--
Thanks & Regards
Smaran Harihar