timberline-secondary / flex-site

Website for Timberline's Flex Activities
0 stars 1 forks source link

Excuses needs to filter current students only #107

Closed tylerecouture closed 6 years ago

tylerecouture commented 7 years ago

When adding a student to an excuse, all former students still appear. The form's queryset needs to filter our archived.

In class StudentsCustomTitleWidget(ModelSelect2MultipleWidget):

the User model needs to filter its queryset to check for user.is_active=True so only active students appear

Requested by Cindy T