Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliypopel committed Oct 16, 2024
1 parent 09611da commit 9bdad96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!')
Expand Down

0 comments on commit 9bdad96

Please sign in to comment.