description = CharField(max_length=255)
def _get_form_department_choices(self):
for department_choice in self.DEPARTMENT_CHOICES:
self.create_description_field()
if department_choice[0] in self.departments:
yield department_choice
def create_description_field(self):
return self.description