Compare commits

..

No commits in common. "6ea856eab74716e3a88faff38f94f473baf57f4e" and "8b0cddb9aaed23af30e6acb07fd049321b6d7dfa" have entirely different histories.

View File

@ -27,7 +27,7 @@ def links_list(request):
offset = (page - 1) * per_page
limit = offset + per_page
all_links = Link.objects.filter(watched__exact=watched).order_by('-id') # latest first
all_links = Link.objects.get(watched__exact=watched).order_by('-id') # latest first
total = all_links.count()
results = list(all_links[offset:limit].values('id', 'url', 'watched'))