Ticket #5037: db-api.diff

File db-api.diff, 398 bytes (added by James Bennett, 17 years ago)

Patch

  • docs/db-api.txt

     
    2020
    2121    class Author(models.Model):
    2222        name = models.CharField(maxlength=50)
    23         email = models.URLField()
     23        email = models.EmailField()
    2424
    2525        def __unicode__(self):
    2626            return self.name
Back to Top