mirror of https://github.com/django/django.git
Small formatting improvement to one_to_one model test
git-svn-id: http://code.djangoproject.com/svn/django/trunk@358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
af95567c14
commit
3aa33edeef
|
@ -1,9 +1,9 @@
|
||||||
"""
|
"""
|
||||||
10. One-to-one relationships
|
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
|
from django.core import meta
|
||||||
|
|
Loading…
Reference in New Issue