But when I enter:

p = Poll(id=1, question="What's new?", pub_date=timezone.now())
p.save()

and then enter:

Poll.objects.filter(question__startswith='What')

it should return:

[<Poll: What's up?>]

but it returns:

[<Poll: Poll object>, <Poll: Poll object>, <Poll: Poll object>]


..and so other commands form the tutorial also return things completely 
different from what they sopposed to.

I also tried deleting Polls file from mysite altogether, but when I got to 
 Poll.objects.all() command it still returned 3 objects instead of one. At 
this point I just wish there was a way to start everything from the top 
without uninstalling Django.



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1030b41e-7b08-4a55-afe3-894804c66802%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to