diff --git a/django_lostplaces/lostplaces/migrations/0002_reomve_vouchers.py b/django_lostplaces/lostplaces/migrations/0002_reomve_vouchers.py
new file mode 100644
index 0000000..d87ac47
--- /dev/null
+++ b/django_lostplaces/lostplaces/migrations/0002_reomve_vouchers.py
@@ -0,0 +1,22 @@
+# Generated by Django 3.1.1 on 2020-10-04 19:37
+# Edited by reverend
+
+import datetime
+from django.db import migrations, models
+import django.utils.timezone
+from django.utils.timezone import utc
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('lostplaces', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.DeleteModel(
+ name='Voucher'
+ ),
+ migrations.DeleteModel(
+ name='Expireable'
+ )
+ ]
\ No newline at end of file
diff --git a/django_lostplaces/lostplaces/models/models.py b/django_lostplaces/lostplaces/models/models.py
index 16b53da..8c87ae1 100644
--- a/django_lostplaces/lostplaces/models/models.py
+++ b/django_lostplaces/lostplaces/models/models.py
@@ -14,6 +14,7 @@ from django.db.models.signals import post_save
from django.dispatch import receiver
from lostplaces.models.abstract_models import Expireable
+from lostplaces.models.place import Place
class Explorer(models.Model):
"""
@@ -27,6 +28,13 @@ class Explorer(models.Model):
related_name='explorer'
)
+ favorite_places = models.ManyToManyField(
+ Place,
+ related_name='favorite_places',
+ verbose_name='Explorers favorite places',
+ blank=True
+ )
+
def __str__(self):
return self.user.username
diff --git a/django_lostplaces/lostplaces/static/icons/favourite_filled.svg b/django_lostplaces/lostplaces/static/icons/favourite_filled.svg
new file mode 100644
index 0000000..c5cc50c
--- /dev/null
+++ b/django_lostplaces/lostplaces/static/icons/favourite_filled.svg
@@ -0,0 +1,163 @@
+
+
diff --git a/django_lostplaces/lostplaces/templates/explorer/profile.html b/django_lostplaces/lostplaces/templates/explorer/profile.html
index 4cf7948..cf4cd63 100644
--- a/django_lostplaces/lostplaces/templates/explorer/profile.html
+++ b/django_lostplaces/lostplaces/templates/explorer/profile.html
@@ -45,65 +45,63 @@
{% trans 'Places submitted by' %} {{explorer.user.username}}
-
- {% for place in place_list %}
-
+ {% trans 'Places submitted by' %} {{explorer.user.username}}
+
+ {% for place in place_list %}
+
- {% include 'partials/nav/pagination.html' %}
+ {% include 'partials/nav/pagination.html' %}
- {% trans 'Images submitted by' %} {{explorer.user.username}}
- {% trans 'Images submitted by' %} {{explorer.user.username}}
+
{% trans 'Photo albums submitted by' %} {{explorer.user.username}}
-
- {% for photo_album in assets.photoalbums.all %}
-
- {% trans 'Photo albums submitted by' %} {{explorer.user.username}}
+
+ {% for photo_album in assets.photoalbums.all %}
+
+