Skip to content
Browse files

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
  • Loading branch information...
1 parent cdbd575 commit 9a54c8f2d4c89161a9ba90b42f885bc733f0cce6 @gdub gdub committed Aug 1, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/db-api.txt
View
2 docs/db-api.txt
@@ -20,7 +20,7 @@ a weblog application::
class Author(models.Model):
name = models.CharField(maxlength=50)
- email = models.URLField()
+ email = models.EmailField()
def __unicode__(self):
return self.name

0 comments on commit 9a54c8f

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