Thank you so much. I have corrected the return including the context dict now. Thank you. It has solved it. Thank you again.
On Monday, 16 July 2018 13:13:08 UTC+1, Jason wrote: > > 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. 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/059ffa0a-1d90-489f-97fe-8e5a4cd6d09e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.