Changes between Version 4 and Version 5 of DocItTutorial01
- Timestamp:
- Jan 26, 2012, 3:12:30 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DocItTutorial01
v4 v5 529 529 530 530 class Poll(models.Model): 531 question = models.CharField(max length=200)531 question = models.CharField(max_length=200) 532 532 pub_date = models.DateTimeField('date published') 533 533 534 534 class Choice(models.Model): 535 535 poll = models.ForeignKey(Poll) 536 choice = models.CharField(max length=200)536 choice = models.CharField(max_length=200) 537 537 votes = models.IntegerField() 538 538