Sugar Labs

Sugar Labs Social: Ajax or lazy loading for feeds

Project: Sugar Labs Social

Project Link:SugarLabsSocial

Background Information: | GCI_2018 | GCI_2018/background |

Social Project has a feed app In which all the recent activities (i.e new post or blog) that are posted on social is being available there.

Currently, all the feed fetched initially and which increases the app loading time and make that slow. This problem can be solved using the on scroll fetching using ajax or using Django paginator. Since the app uses the django template engine so using Django Paginator could be a better option.

The task is to implement a functionality which prevents feed app to fetch all the data at once initially.

The relevant code(Backend) can be found in feed app of the social project feed app

Frontend code is available in templates or more specifically in feed.html page and static folder.

Task tags

  • python
  • django
  • html
  • css
  • js

Students who completed this task

FreddieN

Task type

  • code Code
close

2018