mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
cdbd5751d3
commit
9a54c8f2d4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue