I was having the same problem my django version was 1.3.1 and python 2.7. 
There was indentation problem with my code after correcting it my problem 
was solved.

On Tuesday, June 14, 2011 11:01:54 PM UTC+5, Kyle Latham wrote:
>
> Hello, 
>
> I am having the same problem while working through the tutorial. have 
> searched these forums and tried everything that was recommended. My 
> spacing is good also - I checked that.  I am still getting the same 
> output: 
>
> >>> Poll.objects.all() 
> [<Poll: Poll object>] 
>
> Any ideas on how to fix my issue? 
>
> On Jun 5, 11:20 am, EPS <eremina....@gmail.com> wrote: 
> > Hi, i found this post when try to solve same problem: my trouble was a 
> > "spaces" in models.py. 
> > in your first message it seems to be ok, but you must really check 
> > spaces in your class describe.
> http://mail.python.org/pipermail/tutor/2007-January/051903.html 
> > 
> > On May 17, 4:59 pm, maaz muqri <mmu...@mshahtech.com> wrote: 
> > 
> > 
> > 
> > > im just getting "Pollobject" as output 
> > 
> > > On May 17, 1:14 pm, Roman Klesel <roman.kle...@googlemail.com> 
> wrote:> 2011/5/16 maaz muqri <mmu...@mshahtech.com>: 
> > 
> > > > > I am getting this 
> > 
> > > > >>>>Poll.objects.all() 
> > > > > [<Poll:Pollobject>] 
> > 
> > > > What do you get when you do: 
> > 
> > > > print unicode(Poll.objects.all()[0]) 
> > 
> > > > ? 
> > 
> > > > Regards 
> > > >  Roman- Hide quoted text - 
> > 
> > - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to