AssignmentForm

Qualified name: tin.apps.assignments.forms.AssignmentForm

class AssignmentForm(course, *args, **kwargs)[source]

Bases: ModelForm

Form fields:

Methods

get_main_section

This is the section that is NOT in a dropdown

get_sections

This is used in templates to find which fields should be in a dropdown div.

Attributes

due

media

Return all media required to render the widgets on this form.

__init__(course, *args, **kwargs)[source]
get_main_section() dict[str, str | tuple[str, ...]][source]

This is the section that is NOT in a dropdown

get_sections() Iterable[dict[str, str | tuple[str, ...] | bool]][source]

This is used in templates to find which fields should be in a dropdown div.

property media

Return all media required to render the widgets on this form.