Sunday, September 29, 2019

Re: calling index.html

1.GO to and the index function 
2.def index(request):
       return render(request, 'index.html')
3.goto ur and write following

path(' ', name of your view.index, name = 'home' )

THis how u can render any page to browser as ur home page .
you need to import render in ur views file ...... check google how to import render.

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

No comments:

Post a Comment