Release Notes
Release Notes Context Mixin
- class integreat_cms.cms.views.release_notes.release_notes_context_mixin.ReleaseNotesContextMixin[source]
Bases:
ContextMixin
This mixin provides the release notes context (see
ContextMixin
)
Release Notes View
- class integreat_cms.cms.views.release_notes.release_notes_view.ReleaseNotesView[source]
Bases:
TemplateView
,ReleaseNotesContextMixin
View for retrieving the release notes
- __init__() None [source]
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- Return type:
None
- get_template_names()[source]
Return a list of template names to be used for the request. Must return a list. May not be called if render_to_response() is overridden.
- get_versions(year: Path | PosixPath) dict[str, dict[str, str]] [source]
Get all versions of one year
- render_to_response(context, **response_kwargs)[source]
Return a response, using the response_class for this view, with a template rendered with the given context.
Pass response_kwargs to the constructor of the response class.
- response_class[source]
alias of
TemplateResponse
- template_name = 'release_notes/release_notes.html'[source]
The template to render (see
TemplateResponseMixin
)