Feedback
Forms for filtering feedback objects
Admin Feedback Filter Form
- class integreat_cms.cms.forms.feedback.admin_feedback_filter_form.AdminFeedbackFilterForm(**kwargs: Any)[source]
Bases:
RegionFeedbackFilterForm
Form for filtering admin (technical) feedback objects
Form fields:
language
: Language (ModelChoiceField
)category
: Category (ChoiceField
)read_status
: Status (MultipleChoiceField
)rating
: Rating (MultipleChoiceField
)date_from
: From (DateField
)date_to
: To (DateField
)query
: Query (CharField
)region
: Region (ModelChoiceField
)
- Parameters:
kwargs (Any)
- property media[source]
Return all media required to render the widgets on this form.
Region Feedback Filter Form
- class integreat_cms.cms.forms.feedback.region_feedback_filter_form.RegionFeedbackFilterForm(**kwargs: Any)[source]
Bases:
CustomFilterForm
Form for filtering feedback objects
Form fields:
language
: Language (ModelChoiceField
)category
: Category (ChoiceField
)read_status
: Status (MultipleChoiceField
)rating
: Rating (MultipleChoiceField
)date_from
: From (DateField
)date_to
: To (DateField
)query
: Query (CharField
)
- Parameters:
kwargs (Any)
- apply(feedback: CascadeDeletePolymorphicQuerySet) tuple[CascadeDeletePolymorphicQuerySet, None] [source]
Filter the feedback list according to the given filter data
- Parameters:
feedback (CascadeDeletePolymorphicQuerySet) – The list of feedback
- Returns:
The filtered feedback list and the search query
- Return type:
- property media[source]
Return all media required to render the widgets on this form.