diff --git a/tests/testapp/models/one_to_one.py b/tests/testapp/models/one_to_one.py index 741dee9642..4cbaf8074a 100644 --- a/tests/testapp/models/one_to_one.py +++ b/tests/testapp/models/one_to_one.py @@ -1,9 +1,9 @@ """ 10. One-to-one relationships -To define a many-to-one relationship, use OneToOneField(). +To define a many-to-one relationship, use ``OneToOneField()``. -In this example, a Place optionally can be a Restaurant. +In this example, a ``Place`` optionally can be a ``Restaurant``. """ from django.core import meta