Added some extra examples to many_to_many unit test
git-svn-id: http://code.djangoproject.com/svn/django/trunk@445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
741109f440
commit
270234d189
|
@ -69,4 +69,11 @@ True
|
||||||
>>> p1.get_article_list(order_by=['headline'])
|
>>> p1.get_article_list(order_by=['headline'])
|
||||||
[Django lets you build Web apps easily, NASA uses Python]
|
[Django lets you build Web apps easily, NASA uses Python]
|
||||||
|
|
||||||
|
# If we delete an article, its publication won't be able to access it.
|
||||||
|
>>> a2.delete()
|
||||||
|
>>> articles.get_list()
|
||||||
|
[Django lets you build Web apps easily]
|
||||||
|
>>> p1.get_article_list(order_by=['headline'])
|
||||||
|
[Django lets you build Web apps easily]
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue