import datetime YEAR_CHOICES = [] for r in range(1980, (datetime.datetime.now().year+1)): YEAR_CHOICES.append((r,r)) year = models.IntegerField(_('year'), choices=YEAR_CHOICES, default=datetime.datetime.now().year)