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
commit 3e9b36688d
1 changed files with 16 additions and 16 deletions

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()