DEV Community

loading...

Discussion on: Build a News app using django

Collapse
dabjazz profile image
Yash_Jaiswal

You are using the concept of AJAX right in the frontend? I understood the working of the whole project except that java script code in index.html. Can you explain that on a high level. like what's happening with that

Collapse
magesh236 profile image
Mageshwaran Author

data in context holds the list of new data, django will populate in SSR.
On scrolling it will do a pagination to get the next news set.