Views for Zinnia
Views for Zinnia authors
Bases: zinnia.views.mixins.templates.EntryQuerysetTemplateResponseMixin, django.views.generic.list.BaseListView
Display the entries of an author
Add the current author in context
The model name is the author’s username
Return a queryset of entries published belonging to the current author
Bases: zinnia.views.mixins.callable_queryset.CallableQuerysetMixin, django.views.generic.list.ListView
View returning a list of all published authors
Views for Zinnia archives
Bases: zinnia.views.mixins.archives.ArchiveMixin, zinnia.views.mixins.archives.PreviousNextPublishedMixin, zinnia.views.mixins.callable_queryset.CallableQuerysetMixin, zinnia.views.mixins.templates.EntryQuerysetArchiveTemplateResponseMixin
Mixin combinating:
Bases: zinnia.views.mixins.tz_fixes.EntryDayTZFix, zinnia.views.archives.EntryArchiveMixin, django.views.generic.dates.BaseDayArchiveView
View returning the archive for a day
Bases: zinnia.views.archives.EntryArchiveMixin, zinnia.views.mixins.templates.EntryQuerysetArchiveTodayTemplateResponseMixin, django.views.generic.dates.BaseArchiveIndexView
View returning the archive index
Bases: zinnia.views.mixins.tz_fixes.EntryMonthTZFix, zinnia.views.archives.EntryArchiveMixin, django.views.generic.dates.BaseMonthArchiveView
View returning the archive for a month
Bases: zinnia.views.mixins.tz_fixes.EntryDayTZFix, zinnia.views.archives.EntryArchiveMixin, django.views.generic.dates.BaseTodayArchiveView
View returning the archive for the current day
Return (date_list, items, extra_context) for this request. And defines self.year/month/day for EntryQuerysetArchiveTemplateResponseMixin.
Bases: zinnia.views.mixins.tz_fixes.EntryWeekTZFix, zinnia.views.archives.EntryArchiveMixin, django.views.generic.dates.BaseWeekArchiveView
View returning the archive for a week
Override get_dated_items to add a useful ‘week_end_day’ variable in the extra context of the view
Bases: zinnia.views.archives.EntryArchiveMixin, django.views.generic.dates.BaseYearArchiveView
View returning the archive for a year
Views for Zinnia categories
Bases: zinnia.views.mixins.templates.EntryQuerysetTemplateResponseMixin, django.views.generic.list.BaseListView
View returning a list of all the entries belonging to a category
Add the current category in context
The model name is the category’s slug
Return a queryset of entries published belonging to the current category
Bases: django.views.generic.list.ListView
View returning a list of all the categories
Retrieve a Category instance by a path
Views for Zinnia capabilities
Bases: zinnia.views.mixins.mimetypes.TemplateMimeTypeView
Base view for the weblog capabilities
Populate the context of the template with technical informations for building urls
Bases: zinnia.views.capabilities.CapabilityView
Bases: zinnia.views.capabilities.CapabilityView
Bases: zinnia.views.capabilities.CapabilityView
http://en.wikipedia.org/wiki/Really_Simple_Discovery
Bases: zinnia.views.capabilities.CapabilityView
http://msdn.microsoft.com/en-us/library/bb463260.aspx
Views for Zinnia channels
Bases: django.views.generic.list.ListView
View for displaying a custom selection of entries based on a search pattern, useful for SEO/SMO pages
Override the get_queryset method to do the search
Views for Zinnia entries
Bases: zinnia.views.mixins.tz_fixes.EntryDateDetailTZFix, zinnia.views.mixins.archives.ArchiveMixin, zinnia.views.mixins.templates.EntryArchiveTemplateResponseMixin, django.views.generic.dates.BaseDateDetailView
Mixin combinating:
Bases: zinnia.views.mixins.entry_protection.EntryProtectionMixin, zinnia.views.entries.EntryDateDetail
Detailled view archive view for an Entry with password and login protections
Mixins for Zinnia views
Views for Zinnia quick entry
Bases: django.views.generic.base.View
View handling the quick post of a short Entry
Decorate the view dispatcher with permission_required
GET only do a redirection to the admin for adding and entry
Handle the datas for posting a quick entry, and redirect to the admin in case of error or to the entry’s page in case of success
Bases: django.forms.models.ModelForm
Form for posting an entry quickly
Views for Zinnia entries search
Bases: django.views.generic.list.ListView
View for searching entries
Add error and pattern in the context
Overridde the get_queryset method to do some validations and the search queryset
Views for Zinnia sitemap
Bases: django.views.generic.base.TemplateView
Sitemap view of the blog
Populate the context of the template with all published entries and all the categories
Views for Zinnia shortlink
Bases: django.views.generic.base.RedirectView
View for handling the shortlink of an Entry, simply do a redirection
Get entry corresponding to ‘pk’ and return the get_absolute_url of the entry
Views for Zinnia tags
Bases: zinnia.views.mixins.templates.EntryQuerysetTemplateResponseMixin, django.views.generic.list.BaseListView
View return a list of all the entries published under the current tag
Add the current tag in context
The model name is the tag slugified
Return a queryset of entries published belonging to the current tag
Bases: django.views.generic.list.ListView
View return a list of all published tags
Override the get_queryset method to compute and return the published tags
Views for Zinnia trackback
Bases: zinnia.views.mixins.mimetypes.TemplateMimeTypeView
View for handling trackbacks on the entries
Decorate the view dispatcher with csrf_exempt
GET only do a permanent redirection to the Entry
Retrieve the Entry trackbacked
Check if an URL is provided and if trackbacks are enabled on the Entry. If so the URL is registered one time as a trackback