mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	magic-removal: Merged to [2079]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -308,6 +308,11 @@ so:: | ||||
|  | ||||
|     polls.get_list(order_by=['?']) | ||||
|  | ||||
| To order by a field in a different table, add the other table's name and a dot, | ||||
| like so:: | ||||
|  | ||||
|     choices.get_list(order_by=('polls.pub_date', 'choice')) | ||||
|  | ||||
| There's no way to specify whether ordering should be case sensitive. With | ||||
| respect to case-sensitivity, Django will order results however your database | ||||
| backend normally orders them. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user