Changes between Initial Version and Version 3 of Ticket #5037
- Timestamp:
- Aug 1, 2007, 12:19:52 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5037
- Property Triage Stage Unreviewed → Accepted
- Property Summary wrong typefield for email field in models.py → DB-API docs model example uses URLField for email adress
-
Ticket #5037 – Description
initial v3 1 The example models in the DB API documentation include this: 2 3 {{{ 1 4 class Author(models.Model): 2 5 name = models.CharField(maxlength=50) … … 5 8 def __unicode__(self): 6 9 return self.name 10 }}} 7 11 8 -------------------------------- 12 It should be this: 9 13 10 it should be : 11 14 {{{ 12 15 class Author(models.Model): 13 16 name = models.CharField(maxlength=50) … … 16 19 def __unicode__(self): 17 20 return self.name 18 21 }}}