Merge branch 'LQDJudge:master' into master
This commit is contained in:
commit
49a186f72f
13 changed files with 132 additions and 90 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue