DOH!
I'll try that.
Thanks!
On Apr 17, 2:12 pm, Karen Tracey wrote:
> On Sun, Apr 17, 2011 at 5:06 PM, xpdx wrote:
>
> > >>> p
> >
> > >>> p.save
> > >
> > >>> Poll.objects.all()
> > []
>
> p.save just shows you that p has an attribute named save, and what it is.
> You need parentheses after
On Sun, Apr 17, 2011 at 5:06 PM, xpdx wrote:
>
> >>> p
>
> >>> p.save
> >
> >>> 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/
--
Hi all!
A newbee here.
A little problem going through the tutorial. Hoping somebody can
help.
OS X 10.6.6 with included python version 2.6.1
Downloaded and installed Django from http://www.djangoproject.com/download/
verison 3.1
started tutorial- everything including creation of tables seemed t
3 matches
Mail list logo