diff --git a/pet/views.py b/pet/views.py index 062df8e..2fdbe59 100644 --- a/pet/views.py +++ b/pet/views.py @@ -1,5 +1,7 @@ from django.shortcuts import render +from django.views.decorators.http import require_http_methods +@require_http_methods(["GET"]) def main_page(request): return render(request, 'pet/main_page.html')