DOH!

I'll try that.

Thanks!

On Apr 17, 2:12 pm, Karen Tracey <[email protected]> wrote:
> On Sun, Apr 17, 2011 at 5:06 PM, xpdx <[email protected]> wrote:
>
> > >>> p
> > <Poll: Poll object>
> > >>> p.save
> > <bound method Poll.save of <Poll: Poll object>>
> > >>> Poll.objects.all()
> > []
>
> p.save just shows you that p has an attribute named save, and what it is.
> You need parentheses after the save to actually call the method:
>
> >>> p.save()
>
> Karen
> --http://tracey.org/kmt/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to