DEV Community

Discussion on: Build a News app using django

dabjazz profile image

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

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.