Skip to content

Commit

Permalink
Merge pull request #150 from annaqui/master
Browse files Browse the repository at this point in the history
minor spelling correction
  • Loading branch information
olasitarska committed Oct 27, 2014
2 parents 0d582f5 + dd45976 commit 21b0676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_orm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ QuerySets also allow you to order the list of objects. Let's try to order them b
>>> Post.objects.order_by('created_date')
[<Post: Sample title>, <Post: Post number 2>, <Post: My 3rd post!>, <Post: 4th title of post>]

We can also reverse the ordering by adding `-` at the beggining:
We can also reverse the ordering by adding `-` at the beginning:

>>> Post.objects.order_by('-created_date')
[<Post: 4th title of post>, <Post: My 3rd post!>, <Post: Post number 2>, <Post: Sample title>]
Expand Down

0 comments on commit 21b0676

Please sign in to comment.