Fixes logged out list view

This commit is contained in:
Mouse Reeve 2021-02-03 16:40:29 -08:00
parent 39d31060e1
commit 3f2f27bcac

View file

@ -33,9 +33,7 @@
{% if lists %}
<section class="block content">
<h2 class="title">Recent Lists</h2>
{% if request.user.list_set.exists %}
{% include 'lists/list_items.html' with lists=lists %}
{% endif %}
</section>
<div>
{% include 'snippets/pagination.html' with page=lists path=path %}