I am getting as "GET /movies/ HTTP/1.1" 200 0 on my terminal and web page is also showing empty in Django. How can I figure this out?

i am getting as “GET /movies/ HTTP/1.1” 200 0 on my terminal and web page is also showing empty. How can I figure this out?

The 200 response status code means OK, so I’d assume that you got some movies or at least a web page, but you say your web page is showing empty so maybe not! What does the response look like in the browser developer tools? Depending on the browser, you can get to your developer tools by hitting F12 and then choose the Network tab and then refresh the page. You should see your request in the list, and if you click it you might have a Preview or Response tab where you can see what was returned by your server.

I think your database doesn’t have any records, that’s why you’re getting empty array.