diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-01-08 18:08:22 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-01-08 18:08:22 +0000 |
| commit | bfd5ce8c4108fa7b27f73bc0d5ca3b4d92ea65cd (patch) | |
| tree | ab31a6720be6398bbe95c82a843a8b20296007c1 /docs | |
| parent | 0b6b89f222daa29e4fd9b78ab147fd70c83dfb16 (diff) | |
Fixed #1189 -- Fixed typo in docs/forms.txt 'Place' model example. Thanks, Brian Ray
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/forms.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/forms.txt b/docs/forms.txt index 335976676b..60e5c96971 100644 --- a/docs/forms.txt +++ b/docs/forms.txt @@ -26,11 +26,11 @@ this document, we'll be working with the following model, a "place" object:: ) class Place(meta.Model): - name = meta.CharField(maxlength=100), - address = meta.CharField(maxlength=100, blank=True), - city = meta.CharField(maxlength=50, blank=True), - state = meta.USStateField(), - zip_code = meta.CharField(maxlength=5, blank=True), + name = meta.CharField(maxlength=100) + address = meta.CharField(maxlength=100, blank=True) + city = meta.CharField(maxlength=50, blank=True) + state = meta.USStateField() + zip_code = meta.CharField(maxlength=5, blank=True) place_type = meta.IntegerField(choices=PLACE_TYPES) class META: admin = meta.Admin() |
