Skip to content

Commit

Permalink
Fixed #5037 -- Fixed use of wrong field type in a db-api docs example…
Browse files Browse the repository at this point in the history
…, thanks ubernostrum.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
gdub committed Aug 1, 2007
1 parent cdbd575 commit 9a54c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/db-api.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ a weblog application::


class Author(models.Model): class Author(models.Model):
name = models.CharField(maxlength=50) name = models.CharField(maxlength=50)
email = models.URLField() email = models.EmailField()


def __unicode__(self): def __unicode__(self):
return self.name return self.name
Expand Down

0 comments on commit 9a54c8f

Please sign in to comment.