1
0
mirror of https://github.com/django/django.git synced 2025-06-05 03:29:12 +00:00

[1.5.x] Merge pull request #493 from edavis/fix-get-foo-display-docs

Fixed formatting of get_FOO_display example
This commit is contained in:
Alex Gaynor 2012-11-04 10:59:43 -08:00 committed by Alex Gaynor
parent 6f716e9e5f
commit 4f6e9c6af2

View File

@ -627,7 +627,7 @@ For example::
name = models.CharField(max_length=60)
shirt_size = models.CharField(max_length=2, choices=SHIRT_SIZES)
::
::
>>> p = Person(name="Fred Flintstone", shirt_size="L")
>>> p.save()