Kaydet (Commit) 6c16d84a authored tarafından Matt Boersma's avatar Matt Boersma

Fixed test case that failed on Oracle because it assumed an ordering for

objects.all().


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 4c0ac53f
...@@ -306,7 +306,7 @@ Add some categories and test the many-to-many form output. ...@@ -306,7 +306,7 @@ Add some categories and test the many-to-many form output.
>>> new_art.id >>> new_art.id
1 1
>>> new_art = Article.objects.get(id=1) >>> new_art = Article.objects.get(id=1)
>>> new_art.categories.all() >>> new_art.categories.order_by('name')
[<Category: Entertainment>, <Category: It's a test>] [<Category: Entertainment>, <Category: It's a test>]
Now, submit form data with no categories. This deletes the existing categories. Now, submit form data with no categories. This deletes the existing categories.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment