old_contents: from django import forms
  
  
  class ScaleForm(forms.Form):
      metric = forms.ChoiceField()
      operator = forms.ChoiceField()
      value = forms.CharField()
      units = forms.CharField()
      wait = forms.IntegerField()
  
  
  class ConfigForm(forms.Form):
      min = forms.IntegerField()
  
new_contents: from django import forms
  
  
  OPERATOR_CHOICES = (
      ('>', '>'),
      ('>=', '>='),
      ('<=', '<='),
      ('<', '<'),
      ('!=', '!='),
  )
  
  
  METRIC_CHOICES = (
      ('cpu', 'cpu'),
      ('memory', 'memory'),
      ('request/min', 'request/min'),
      ('response time', 'response time'),
  )
  
  
  class ScaleForm(forms.Form):
      metric = forms.ChoiceField(METRIC_CHOICES)
      operator = forms.ChoiceField(OPERATOR_CHOICES)
      value = forms.CharField()
      units = forms.CharField(label=u'Step (in units)')
      wait = forms.IntegerField(label=u'Wait time (in seconds)')
  
  
  class ConfigForm(forms.Form):
      min = forms.IntegerField(label=u'Start with units')
  
subject: improve labels.