Kaydet (Commit) bfd5ce8c authored tarafından Adrian Holovaty's avatar Adrian Holovaty

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
üst 0b6b89f2
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment