two problems: you're just returning a string in your response, not the 
template.
Nor are you using the context dict anywhere.

Look at the example in the tutorial:  
https://docs.djangoproject.com/en/2.0/intro/tutorial03/#a-shortcut-render  
How does your index method differ from what's there?

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c5fb7ef5-4032-45c2-a66f-f02e0ea01391%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to