Fix feed scroll on mobile

This commit is contained in:
cuom1999 2023-04-26 03:38:34 -05:00
parent 00f2ea2648
commit a7c555c853
4 changed files with 49 additions and 21 deletions

View file

@ -27,6 +27,7 @@ class FeedView(InfinitePaginationMixin, ListView):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["has_next_page"] = context["page_obj"].has_next()
try:
context["feed_content_url"] = reverse(self.url_name)
except Exception as e: