title: Django: create a model that has a set of values for each day of month
body: <p>Suppose I want to create a form that allows a user to enter 2 numeric values for each day of the month. (e.g. count and rate). Since each month has a different number of days, how do I best create this. </p>
  
  <p>Should I create a model that has all of the days prepopulated?</p>
  
  <pre><code>class myModel(models.Model):
      user = ...
      day1 = models.DateField(default=None, blank=True, null=True)
      day1_count = models.IntegerField(default=9, min=0, max=100)
      day1_rate = models.DecimalField(default=0.00, max_digits=100, decimal_places=2)
      day2 = models.DateField(default=None, blank=True, null=True)
      day2_count = models.IntegerField(default=9, min=0, max=100)
      day2_rate = models.DecimalField(default=0.00, max_digits=100, decimal_places=2)
      ...
      day31 = models.DateField(default=None, blank=True, null=True)
      day31_count = models.IntegerField(default=9, min=0, max=100)
      day31_rate = models.DecimalField(default=0.00, max_digits=100, 
  </code></pre>
  
  <p>or should I create some kind of onetomany field?</p>
  
  <pre><code>class myDate(models.Model)
      day = models.DateField(default=None, blank=True, null=True)
      day_count = models.IntegerField(default=9, min=0, max=100)
      day_rate = models.DecimalField(default=0.00, max_digits=100, decimal_places=2)
  
  class myModel(models.Modle)
      user = ...
      date = models.OneToMany(myDate)
  </code></pre>
  
  <p>I feel like the later option is better, but I don't know how to flesh it out. </p>