Pulled favorite_places out of explorer instance.

This commit is contained in:
Marcus Scholz 2020-12-24 18:03:31 +01:00
parent 0c38ca9a15
commit a9013d9673

View File

@ -64,7 +64,7 @@
<div class="LP-PlaceList"> <div class="LP-PlaceList">
<h1 class="LP-Headline">{% trans 'Favorite places' %}</h1> <h1 class="LP-Headline">{% trans 'Favorite places' %}</h1>
<ul class="LP-PlaceList__List"> <ul class="LP-PlaceList__List">
{% for place in favorite_places %} {% for place in explorer.favorite_places.all %}
<li class="LP-PlaceList__Item"> <li class="LP-PlaceList__Item">
{% include 'partials/place_teaser.html' with place=place extended=True %} {% include 'partials/place_teaser.html' with place=place extended=True %}
</li> </li>