Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 9a54c8f2d4c89161a9ba90b42f885bc733f0cce6 1 parent cdbd575
@gdub gdub authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.