Skip to content

meringue.core.views ¤

im_a_teapot ¤

im_a_teapot(request)

We all at some point want to brew boiling water.

Examples:

urls.py
from django.urls import path
from meringue.core.views import im_a_teapot

urlpatterns = [
    path('make_coffee', im_a_teapot, name="make_coffee"),
]
Source code in meringue/core/views.py
def im_a_teapot(request):
    """
    We all at some point want to brew boiling water.

    Examples:
        ```py title="urls.py"
        from django.urls import path
        from meringue.core.views import im_a_teapot

        urlpatterns = [
            path('make_coffee', im_a_teapot, name="make_coffee"),
        ]
        ```
    """
    return HttpResponse(status=418)