Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #1189 -- Fixed typo in docs/forms.txt 'Place' model example. Th…

…anks, Brian Ray

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bfd5ce8c4108fa7b27f73bc0d5ca3b4d92ea65cd 1 parent 0b6b89f
Adrian Holovaty authored

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  docs/forms.txt
10  docs/forms.txt
@@ -26,11 +26,11 @@ this document, we'll be working with the following model, a "place" object::
26 26
     )
27 27
 
28 28
     class Place(meta.Model):
29  
-        name = meta.CharField(maxlength=100),
30  
-        address = meta.CharField(maxlength=100, blank=True),
31  
-        city = meta.CharField(maxlength=50, blank=True),
32  
-        state = meta.USStateField(),
33  
-        zip_code = meta.CharField(maxlength=5, blank=True),
  29
+        name = meta.CharField(maxlength=100)
  30
+        address = meta.CharField(maxlength=100, blank=True)
  31
+        city = meta.CharField(maxlength=50, blank=True)
  32
+        state = meta.USStateField()
  33
+        zip_code = meta.CharField(maxlength=5, blank=True)
34 34
         place_type = meta.IntegerField(choices=PLACE_TYPES)
35 35
         class META:
36 36
             admin = meta.Admin()

0 notes on commit bfd5ce8

Please sign in to comment.
Something went wrong with that request. Please try again.