diff --git a/django_lostplaces/lostplaces/templates/explorer/profile.html b/django_lostplaces/lostplaces/templates/explorer/profile.html index 0e49976..e5f99d7 100644 --- a/django_lostplaces/lostplaces/templates/explorer/profile.html +++ b/django_lostplaces/lostplaces/templates/explorer/profile.html @@ -60,6 +60,22 @@ +
+
+

{% trans 'Favorite places' %}

+ + + {% include 'partials/nav/pagination.html' %} + +
+
+

{% trans 'Places submitted by' %} {{explorer.user.username}}

diff --git a/django_lostplaces/lostplaces/views/explorer_views.py b/django_lostplaces/lostplaces/views/explorer_views.py index 0197faa..5053477 100644 --- a/django_lostplaces/lostplaces/views/explorer_views.py +++ b/django_lostplaces/lostplaces/views/explorer_views.py @@ -23,6 +23,7 @@ class ExplorerProfileView(IsAuthenticatedMixin, View): 'explorer': explorer, 'place_count': place_count, 'place_list': place_list, + 'favorite_places': explorer.favorite_places.all(), 'assets': {} }