diff options
| author | Tim Graham <timograham@gmail.com> | 2016-02-25 14:22:41 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-02-25 14:22:41 -0500 |
| commit | 22d2a5b00ac99e638d95cbfe1cc41ef217fa50d4 (patch) | |
| tree | 3023c7ba01f051022f4fd9fcd86c760e98c41ff0 /docs | |
| parent | 4b1529e2cbee697e7e772b05ad5038edef22f38d (diff) | |
Corrected a run on sentence in doc/topics/db/models.txt.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/models.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index 99240dc65a..89dccb39f1 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -170,10 +170,10 @@ ones: ) The first element in each tuple is the value that will be stored in the - database, the second element will be displayed by the default form widget - or in a ModelChoiceField. Given an instance of a model object, the - display value for a choices field can be accessed using the - ``get_FOO_display`` method. For example:: + database. The second element will be displayed by the default form widget + or in a :class:`~django.forms.ModelChoiceField`. Given a model instance, + the display value for a choices field can be accessed using the + ``get_FOO_display()`` method. For example:: from django.db import models |
