File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 66from hello .forms import LogMessageForm
77from hello .models import LogMessage
88
9- # def home(request):
10- # return render(request, 'hello/home.html')
119
1210class HomeListView (ListView ):
1311 """Renders the home page, with a list of all polls."""
@@ -19,12 +17,18 @@ def get_context_data(self, **kwargs):
1917 return context
2018
2119def about (request ):
20+ """Renders the about page."""
2221 return render (request , "hello/about.html" )
2322
2423def contact (request ):
24+ """Renders the contact page."""
2525 return render (request , "hello/contact.html" )
2626
2727def hello_there (request , name ):
28+ """Renders the hello_there page.
29+ Args:
30+ name: Name to say hello to
31+ """
2832 return render (
2933 request , "hello/hello_there.html" , {"name" : name , "date" : datetime .now ()}
3034 )
You can’t perform that action at this time.
0 commit comments