summaryrefslogtreecommitdiff
path: root/docs/db-api.txt
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2007-08-01 05:52:18 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2007-08-01 05:52:18 +0000
commit9a54c8f2d4c89161a9ba90b42f885bc733f0cce6 (patch)
tree5662b29afaddcb5393cb167efe6f2a299ab185d1 /docs/db-api.txt
parentcdbd5751d3c9579bac7054b45edae11de27171ff (diff)
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
Diffstat (limited to 'docs/db-api.txt')
-rw-r--r--docs/db-api.txt2
1 files changed, 1 insertions, 1 deletions
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