Code

Ticket #5037: db-api.diff

File db-api.diff, 398 bytes (added by ubernostrum, 7 years ago)

Patch

Line 
1Index: docs/db-api.txt
2===================================================================
3--- docs/db-api.txt     (revision 5781)
4+++ docs/db-api.txt     (working copy)
5@@ -20,7 +20,7 @@
6 
7     class Author(models.Model):
8         name = models.CharField(maxlength=50)
9-        email = models.URLField()
10+        email = models.EmailField()
11 
12         def __unicode__(self):
13             return self.name