Commit 22d2a5b0 authored by Tim Graham's avatar Tim Graham
Browse files

Corrected a run on sentence in doc/topics/db/models.txt.

parent 4b1529e2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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