web.views.email_views.EmailConversationView module

Module with the web.views.EmailConversationView view.

class web.views.email_views.EmailConversationView.EmailConversationView(**kwargs)[source]

Bases: EmailFilterView, SingleObjectMixin

View for filtering listed core.models.Email instances belonging to an emails conversation.

URL_NAME = 'email-conversation'
template_name = 'web/email/email_conversation_filter_list.html'
get_queryset()[source]

Restricts the queryset to objects owned by the requesting user.

Return type:

QuerySet

get_context_data(**kwargs)[source]

Extended method to pass the query parameters to the context.

References

https://jeffpohlmeyer.com/django-filters-with-pagination

Return type:

dict[str, Any]

Returns:

The view’s context with added query parameters.

Parameters:

kwargs (Any)