DISPLAY DATA TO FRONT-END DJANGO WEB DEVELOPMENT COURSE DAY 20

Опубликовано: 23 Июнь 2026
на канале: educr Updates
221
4

Connect database to front-end
It is possible to display the data from database to the front-end. This is made possible through API application. For our case we are building social media where people can sent and replay messages. The problem we are solving today is about how to be able to display those data in the database to the front-end. Remember every post has got its id. So if you can know all ids then you can know the number of posts going to be displayed on the web page. Therefore in order to achieve this we are going to work with the following:
a) Templates
b) Main project app
c) App where models are hosted