summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testapp/models/one_to_one.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testapp/models/one_to_one.py b/tests/testapp/models/one_to_one.py
index 5b384aa82b..b8f68836b3 100644
--- a/tests/testapp/models/one_to_one.py
+++ b/tests/testapp/models/one_to_one.py
@@ -74,4 +74,7 @@ Demon Dogs the restaurant
>>> w.save()
>>> w
Joe the waiter at Demon Dogs the restaurant
+
+>>> r = restaurants.get_object(pk=1)
+>>> r.delete()
"""