# {py:mod}`django_twc_toolbox.views` ```{py:module} django_twc_toolbox.views ``` ```{autodoc2-docstring} django_twc_toolbox.views :allowtitles: ``` ## Module Contents ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`custom_error_404 ` - ```{autodoc2-docstring} django_twc_toolbox.views.custom_error_404 :summary: ``` * - {py:obj}`custom_error_500 ` - ```{autodoc2-docstring} django_twc_toolbox.views.custom_error_500 :summary: ``` * - {py:obj}`robots_txt ` - ```{autodoc2-docstring} django_twc_toolbox.views.robots_txt :summary: ``` * - {py:obj}`security_txt ` - ```{autodoc2-docstring} django_twc_toolbox.views.security_txt :summary: ``` ```` ### API ````{py:function} custom_error_404(request: django.http.HttpRequest, exception: Exception | None = None, *args: object, **kwargs: object) -> django.http.HttpResponse :canonical: django_twc_toolbox.views.custom_error_404 ```{autodoc2-docstring} django_twc_toolbox.views.custom_error_404 ``` ```` ````{py:function} custom_error_500(request: django.http.HttpRequest, *args: object, **kwargs: object) -> django.http.HttpResponse :canonical: django_twc_toolbox.views.custom_error_500 ```{autodoc2-docstring} django_twc_toolbox.views.custom_error_500 ``` ```` ````{py:function} robots_txt(request: django.http.HttpRequest) -> django.http.HttpResponse :canonical: django_twc_toolbox.views.robots_txt ```{autodoc2-docstring} django_twc_toolbox.views.robots_txt ``` ```` ````{py:function} security_txt(request: django.http.HttpRequest) -> django.http.HttpResponse :canonical: django_twc_toolbox.views.security_txt ```{autodoc2-docstring} django_twc_toolbox.views.security_txt ``` ````