title: Django View Class : name 'self' is not defined
body: <p>I'm working on the Django framework.
  Now I'm making a Class for user registration like below.
  I got a error on the line number 6.
  Could you give some help?</p>
  
  <pre><code>1: class JoinForm(forms.Form):
  2:    MONTH = {
  3:        1:('Jan'), 2:('Feb'), 3:('March'), 4:('Apl'), 5:('May'), 6:('Jun'),
  4:        7:('July'), 8:('Aug'), 9:('Sep'), 10:('Oct'), 11:('Nov'), 12:('Dec')
  5:    }
  6:    YEAR = self.makeYearChoice(self,1940)
  7:    email = forms.EmailField(label='Email Address', max_length=50)
  8:    name = forms.CharField(label='Real Name', max_length=20)
  9:    birth = forms.DateField(label='Birth Date', widget=SelectDateWidget(years=YEAR, months=MONTH))
  10:   loc = forms.CharField(label='Resident Location', max_length=40)
  11:   passwd = forms.CharField(label='Password', max_length=16, widget=forms.PasswordInput)
  
  12:   def makeYearChoice(self,startYear):
  13:       YEARS = ();
  14:       thisYear = datetime.now().year
  15:       for year in range(startYear,thisYear):
  16:           YEARS.append(year)
  17:       return YEARS
  </code></pre>