Changes between Version 4 and Version 5 of DocItTutorial01


Ignore:
Timestamp:
Jan 26, 2012, 3:12:30 AM (12 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DocItTutorial01

    v4 v5  
    529529
    530530    class Poll(models.Model):
    531         question = models.CharField(maxlength=200)
     531        question = models.CharField(max_length=200)
    532532        pub_date = models.DateTimeField('date published')
    533533
    534534    class Choice(models.Model):
    535535        poll = models.ForeignKey(Poll)
    536         choice = models.CharField(maxlength=200)
     536        choice = models.CharField(max_length=200)
    537537        votes = models.IntegerField()
    538538
Back to Top