Kaydet (Commit) 10ca90a2 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Added unit tests to verify OneToOne deletion works

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst db94402e
...@@ -74,4 +74,7 @@ Demon Dogs the restaurant ...@@ -74,4 +74,7 @@ Demon Dogs the restaurant
>>> w.save() >>> w.save()
>>> w >>> w
Joe the waiter at Demon Dogs the restaurant Joe the waiter at Demon Dogs the restaurant
>>> r = restaurants.get_object(pk=1)
>>> r.delete()
""" """
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