Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

queryset o que é

>>> Post.objects.order_by('-created_date')
<QuerySet [<Post: 4th title of post>,  <Post: My 3rd post!>, <Post: Post number 2>, <Post: Sample title>]>
Source by tutorial.djangogirls.org #
 
PREVIOUS NEXT
Tagged: #queryset
ADD COMMENT
Topic
Name
4+8 =