diff --git a/hello_world/core/views.py b/hello_world/core/views.py index b6936cf..06ce765 100644 --- a/hello_world/core/views.py +++ b/hello_world/core/views.py @@ -1,10 +1,7 @@ from django.shortcuts import render def index(request): - return render( - request, - "index.html", - { - "title": "Django example", - }, - ) + context = { + "title": "Django example", + } + return render(request, "index.html", context)