Mixins for Zinnia views
Mixins for Zinnia archive views
Bases: object
Mixin centralizing the configuration of the archives views
Bases: object
Mixin for correcting the previous/next context variable to return dates with published datas
Get the next day with published Entries
Get the next month with published Entries
Get the previous day with published Entries
Get the previous month with published Entries
Return the next or previous published date period with Entries
Callable Queryset mixins for Zinnia views
Bases: object
Mixin for handling a callable queryset. Who will force the update of the queryset. Related to issue http://code.djangoproject.com/ticket/8378
Check that the queryset is defined and call it
Protection mixins for Zinnia views
Bases: object
Mixin returning a login view if the current entry need authentication and password view if the entry is protected by a password
Do the login protection
Return the login view
Return the password form
Do the login protection
MimeType mixins for Zinnia views
Bases: object
Mixin for handling the mimetype parameter
Return the mimetype of the response
Bases: zinnia.views.mixins.mimetypes.MimeTypeMixin, django.views.generic.base.TemplateView
TemplateView with a configurable mimetype
Render the view with a custom mimetype
Template mixins for Zinnia views
Bases: zinnia.views.mixins.templates.EntryQuerysetArchiveTemplateResponseMixin
Same as EntryQuerysetArchivetemplateResponseMixin but use the template defined in the Entr instance as the base template name.
Return the Entry.template value
Bases: django.views.generic.base.TemplateResponseMixin
Return a custom template name for the archive views based on the type of the archives and the value of the date.
Method for accessing to the value of self.get_year(), self.get_month(), etc methods if they exists.
Return the default base template used to build the list of templates.
Return a list of template names to be used for the view
Bases: zinnia.views.mixins.templates.EntryQuerysetArchiveTemplateResponseMixin
Same as EntryQuerysetArchivetemplateResponseMixin but use the current date of the day when getting archive part values
Return archive part for today
Bases: django.views.generic.base.TemplateResponseMixin
Return a custom template name for views returning a queryset of Entry filtered by another model.
Return the model name for templates
Return the model type for templates
Return a list of template names to be used for the view
Mixins for fixing the time zones support in the class based generic views for archives.
This module must be removed in Django 1.5.
https://code.djangoproject.com/ticket/18217
Bases: object
Get the object this request displays.
Bases: object