Homepage View and Template

Learn how to complete the Homepage implementation by creating a view and template.

Homepage view

After we create the URL for a specific page, a view for the page also needs to be created.

Add the following code in views.py in the app’s directory to create the view for the Homepage.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy