From 9a54c8f2d4c89161a9ba90b42f885bc733f0cce6 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Wed, 1 Aug 2007 05:52:18 +0000 Subject: [PATCH] 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 --- docs/db-api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/db-api.txt b/docs/db-api.txt index 39f4b1e16f..975a166b6b 100644 --- a/docs/db-api.txt +++ b/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