CourseForm¶
Qualified name: tin.apps.courses.forms.CourseForm
- class CourseForm(*args, is_create: bool = False, **kwargs)[source]¶
Bases:
ModelForm
Form fields:
name
: Name (CharField
)teacher
: Teacher (UserMultipleChoiceField
)sort_assignments_by
: Sort assignments by (TypedChoiceField
)archived
: Archive course? (BooleanField
)permission
: When archived, students can: (TypedChoiceField
)
Methods
Attributes
Return all media required to render the widgets on this form.
- property media¶
Return all media required to render the widgets on this form.