diff --git a/django_lostplaces/lostplaces/models/models.py b/django_lostplaces/lostplaces/models/models.py
index 2d39ca6..5914583 100644
--- a/django_lostplaces/lostplaces/models/models.py
+++ b/django_lostplaces/lostplaces/models/models.py
@@ -62,6 +62,12 @@ class Explorer(models.Model):
verbose_name='Explorers favorite places',
blank=True
)
+ visited_places = models.ManyToManyField(
+ Place,
+ related_name='explorer_visits',
+ verbose_name='Explorers visited places',
+ blank=True
+ )
def __str__(self):
return self.user.username
diff --git a/django_lostplaces/lostplaces/templates/explorer/profile.html b/django_lostplaces/lostplaces/templates/explorer/profile.html
index 8bdd07d..f8779b6 100644
--- a/django_lostplaces/lostplaces/templates/explorer/profile.html
+++ b/django_lostplaces/lostplaces/templates/explorer/profile.html
@@ -92,9 +92,21 @@
{% endfor %}
-
{% include 'partials/nav/pagination.html' %}
+
+
+{% trans 'Visited places' %}
+
+ {% for place in explorer.visited_places.all %}
+
+ {% include 'partials/nav/pagination.html' %}
+
+{%else%}
+
+
+
+{% endif %}
+{% endif %}
\ No newline at end of file
diff --git a/django_lostplaces/lostplaces/templates/partials/place_teaser.html b/django_lostplaces/lostplaces/templates/partials/place_teaser.html
index aa1418f..7028eb1 100644
--- a/django_lostplaces/lostplaces/templates/partials/place_teaser.html
+++ b/django_lostplaces/lostplaces/templates/partials/place_teaser.html
@@ -31,7 +31,7 @@