Views
Public Views
- class django_logikal.views.PublicViewMixin
Mark a class-based view public.
- class django_logikal.views.PublicView(*args: Any, **kwargs: Any)
Bases:
PublicViewMixin
,View
Represent a public view.
Utilities
- django_logikal.views.redirect_to(viewname: str) Callable[[...], HttpResponseBase]
Redirect to the given view.
- django_logikal.views.page_not_found_view(*args: Any, **kwargs: Any) HttpResponseNotFound
Public view rendered from the
404.html.j
template.
- django_logikal.views.server_error_view(*args: Any, **kwargs: Any) HttpResponseServerError
Public view rendered from the
500.html.j
template.
- django_logikal.views.ERROR_HANDLERS = {400: <function server_error_view>, 403: <function page_not_found_view>, 404: <function page_not_found_view>, 500: <function server_error_view>}
Standard error handler views.