Django showing wrong output!

i created a db in django and added 3 students data in it.
after i added the table in html im getting the display like this,


is this is the output for what i did?
or it should show the entered student details?
im learning this from muthu sir’s yt videos, there due to some reasons sir cant show the output page. so after i got this kind of output i got really cofused.

If you want to display a variable in the html template, you need to send the parameters as a dictionary from views.py to the html template

Inside the template, if you need to display the variable passed in the html you need to reference the dictionary key inside {{ }} double curly braces.

Kindly check your code if this methods are followed properly

2 Likes

Thank you so much @parameshwar
actually i used single curly braces instead of double.

1 Like