From 48aaf3d2ace9c6e98ce602c4f1c44762c5641f29 Mon Sep 17 00:00:00 2001 From: Petter Friberg Date: Mon, 1 Nov 2021 16:04:58 +0100 Subject: [PATCH] Implement stubs for views.decorators.common.no_append_slash (#743) --- django-stubs/views/decorators/common.pyi | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 django-stubs/views/decorators/common.pyi diff --git a/django-stubs/views/decorators/common.pyi b/django-stubs/views/decorators/common.pyi new file mode 100644 index 0000000..cf340c2 --- /dev/null +++ b/django-stubs/views/decorators/common.pyi @@ -0,0 +1,5 @@ +from typing import Any, Callable, TypeVar + +_C = TypeVar("_C", bound=Callable[..., Any]) + +def no_append_slash(view_func: _C) -> _C: ...