p.id == 3 is just fine. It's auto-incrementing, and even if you delete items, an object will never get p.id == 1 again.
If you really want a Poll with id=1, either clear out your database, or create it manually like so: p = Poll(id=1, question="What's new?", pub_date=timezone.now()) p.save() -- 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/20d01d45-3516-4a87-9bbd-15505b3d2f56%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.