1Will create a select box for this in the model form. Use can select from the
2options.The first element in each tuple is the actual value to be set on the model,
3and the second element is the human-readable name. For example:
4YEAR_IN_SCHOOL_CHOICES = [
5 (FRESHMAN, 'Freshman'),
6 (SOPHOMORE, 'Sophomore'),
7 (JUNIOR, 'Junior'),
8 (SENIOR, 'Senior'),
9 (GRADUATE, 'Graduate'),
10 ]
11 year_in_school = models.CharField(
12 max_length=2,
13 choices=YEAR_IN_SCHOOL_CHOICES,
14 default=FRESHMAN,
15 )