1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Added some extra examples to many_to_many unit test

git-svn-id: http://code.djangoproject.com/svn/django/trunk@444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-09 22:53:43 +00:00
parent b888113f49
commit 741109f440

View File

@ -63,4 +63,10 @@ True
>>> a2.get_publication_list()
[The Python Journal, Science News]
# Publication objects have access to their related Article objects.
>>> p2.get_article_list()
[NASA uses Python]
>>> p1.get_article_list(order_by=['headline'])
[Django lets you build Web apps easily, NASA uses Python]
"""