FilterForm¶
Qualified name: tin.apps.submissions.forms.FilterForm
- class FilterForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]¶
Bases:
Form
Form fields:
courses
: Courses (CustomModelMultipleChoiceField
)folders
: Folders (CustomModelMultipleChoiceField
)assignments
: Assignments (CustomModelMultipleChoiceField
)periods
: Periods (CustomModelMultipleChoiceField
)students
: Students (UserMultipleChoiceField
)start_date
: From (DateTimeField
)end_date
: To (DateTimeField
)is_latest_publish
: Is latest or published? (BooleanField
)is_latest
: Is latest? (BooleanField
)is_published
: Is published? (BooleanField
)has_been_graded
: Is graded? (BooleanField
)has_not_been_graded
: Is not graded? (BooleanField
)is_complete
: Is complete? (BooleanField
)is_incomplete
: Is incomplete? (BooleanField
)min_points
: Min points (IntegerField
)max_points
: Max points (IntegerField
)points_possible
: Total points possible (IntegerField
)limit
: Limit (IntegerField
)order_by_1
: Order by (ChoiceField
)order_by_2
: Then by (ChoiceField
)order_by_3
: Then by (ChoiceField
)order_by_4
: Then by (ChoiceField
)order_by_5
: Then by (ChoiceField
)
Methods
Returns a queryset of submissions matching the form's filters
Attributes
ORDER_CHOICES
Return all media required to render the widgets on this form.
- property media¶
Return all media required to render the widgets on this form.