[Answer]-How to replace Pinax template view for home to a normal view?

1👍

You have reset the context when you are returning the response – since you didn’t pass in an instance of RequestContext.

The quickest way to resolve this is to use the render shortcut, that automatically passes in the correct context:

from django.shortcuts import render

def home(request):
    return render(request, 'homepage.html', {})

Leave a comment