From 9bdad969da4d261796e7e58d1e8bf9a659791202 Mon Sep 17 00:00:00 2001 From: vitaliypopel Date: Wed, 16 Oct 2024 17:40:27 +0300 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 72b1cba..fdb2263 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ from django_routify import Router router = Router('/app', 'app', auto_trailing_slash=True) +# or @router.get('/hello-world') @router.route('/hello-world', methods=['GET']) def hello_world(request: HttpRequest) -> HttpResponse: return HttpResponse('Hello World!')