title: Choices must be iterable
body: <p>I am having an issue with Django and Python</p>
  
  <p>I am facing the error <code>.from_hour: (fields.E005) 'choices' must be an iterable containing (actual value, human readable name) tuples.</code> Can someone help me understand what the error is? I know if I comment <code>from_hour</code> and <code>to_hour</code> it runs</p>
  
  <p>Here is my code</p>
  
  <pre><code>WEEKDAYS = [
    (1, _("Monday")),
    (2, _("Tuesday")),
    (3, _("Wednesday")),
    (4, _("Thursday")),
    (5, _("Friday")),
    (6, _("Saturday")),
    (7, _("Sunday")),
  ]
  
  
  weekday_from = models.IntegerField(choices=WEEKDAYS, unique=True)
  weekday_to = models.IntegerField(choices=WEEKDAYS)
  from_hour = models.IntegerField(choices=range(1,25))
  to_hour = models.IntegerField(choices=range(1,25))
  
  def get_weekday_from_display(self):
      return WEEKDAYS[self.weekday_from]
  
  def get_weekday_to_display(self):
      return WEEKDAYS[self.weekday_to]
  </code></pre>