Kaydet (Commit) 95e8688d authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Added unit test that confirms #404

git-svn-id: http://code.djangoproject.com/svn/django/trunk@614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 5bdf1da7
......@@ -55,4 +55,9 @@ API_TESTS = """
# Use the "offset" parameter with "limit" to offset the result list.
>>> articles.get_list(order_by=['headline'], offset=1, limit=2)
[Article 2, Article 3]
# Use '?' to order randomly. (We're using [...] in the output to indicate we
# don't know what order the output will be in.
>>> articles.get_list(order_by=['?'])
[...]
"""
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