mirror of
https://github.com/django/django.git
synced 2024-11-30 15:10:46 +01:00
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):
|
||||
name = models.CharField(maxlength=50)
|
||||
email = models.URLField()
|
||||
email = models.EmailField()
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
|
Loading…
Reference in New Issue
Block a user