all(), get(), create(), count(). More info?
Running this tut: https://docs.djangoproject.com/en/1.1/intro/tutorial01/
Here is a list of shell commands I'm asked to issue, but I don't
understand where the commands are coming from? Are these Django or
Python commands? I've attempted to query help and read the docs but
can't find them anywhere.
Poll.objects.all()
Poll.objects.filter()
Poll.objects.get()
p.choice_set.all()
p.choice_set.create()
p.choice_set.count()
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home