Skip to content

Commit 9a54c8f

Browse files
committed
Fixed #5037 -- Fixed use of wrong field type in a db-api docs example, thanks ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent cdbd575 commit 9a54c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/db-api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ a weblog application::
2020

2121
class Author(models.Model):
2222
name = models.CharField(maxlength=50)
23-
email = models.URLField()
23+
email = models.EmailField()
2424

2525
def __unicode__(self):
2626
return self.name

0 commit comments

Comments
 (0)