Skip to content

views

AnalysisGroupCreateView

Bases: LoginRequiredMixin, CreateView

Create a new analysis group.

AnalysisGroupDeleteView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, DeleteView

Delete a given analysis group.

AnalysisGroupDetailView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, DetailView

Details for a given analysis group.

AnalysisGroupListView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, ListView

List of all analysis groups.

AnalysisGroupUpdateView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, UpdateView

Update a given analysis group.

AppEntryView

Bases: LoginRequiredMixin, TemplateView

The default view for the root of the application.

EpisodeDeleteView

Bases: LoginRequiredMixin, PodcastEpisodeDescendantMixin, DeleteView

Delete a given episode.

EpisodeDetailView

Bases: LoginRequiredMixin, PodcastEpisodeDescendantMixin, DetailView

View a given episode's details.

EpisodeListView

Bases: LoginRequiredMixin, PodcastEpisodeDescendantMixin, ListView

View all episodes for given podcast

EpisodeUpdateView

Bases: LoginRequiredMixin, PodcastEpisodeDescendantMixin, UpdateView

Edit a given episode's details.

PersonDeleteView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, DeleteView

Delete a person from the database.

PersonDetailView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, DetailView

View a specific person's details.

PersonListView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, ListView

View all people in a list

PersonMergeListView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, ListView

Show a list of people that this record could be merged with.

PersonMergeView

Bases: LoginRequiredMixin, SingleObjectMixin, FormView

Show a confirmation screen so that the user can double-check what will be changed. Then perform the merge on a post.

PersonUpdateView

Bases: LoginRequiredMixin, UpdateView

Edit a given person's details.

PodcastCreateView

Bases: LoginRequiredMixin, CreateView

Provides a form to create a podcast.

PodcastDeleteView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, DeleteView

For deleting a podcast record.

PodcastDetailView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, DetailView

A view to see a given podcasts data.

PodcastEpisodeDescendantMixin

Bases: SelectPrefetchRelatedMixin

Allows the episode queryset to be filtered by the podcast it comes from.

PodcastListView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, ListView

View all podcasts in a list.

PodcastUpdateView

Bases: LoginRequiredMixin, UpdateView

View for updating a podcast record.

SelectPrefetchRelatedMixin

Adds two class variables

prefetch_related: list[str] select_related: list[str]

If they are populated, it will use them in the queryset.

TagPodcastListView

Bases: LoginRequiredMixin, SelectPrefetchRelatedMixin, ListView

List the podcasts for the given tag.

messaging_enabled

messaging_enabled() -> bool

Returns a bool representing if django's messages are enabled.

Source code in src/podcast_analyzer/views.py
def messaging_enabled() -> bool:
    """Returns a bool representing if django's messages are enabled."""
    return "django.contrib.messages" in settings.INSTALLED_APPS