Bläddra i källkod

Fix migrations and add location tab

Colin Powell 1 år sedan
förälder
incheckning
3eb51a871e

+ 18 - 0
vrobbler/apps/books/migrations/0019_alter_book_authors.py

@@ -0,0 +1,18 @@
+# Generated by Django 4.1.7 on 2023-11-21 23:25
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ("books", "0018_author_locg_slug"),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name="book",
+            name="authors",
+            field=models.ManyToManyField(blank=True, to="books.author"),
+        ),
+    ]

+ 6 - 0
vrobbler/templates/base.html

@@ -222,6 +222,12 @@
                                 Charts
                                 </a>
                             </li>
+                            <li class="nav-item">
+                                <a class="nav-link" aria-current="page" href="/locations/">
+                                <span data-feather="map"></span>
+                                Locations
+                                </a>
+                            </li>
                             <li class="nav-item">
                                 <a class="nav-link" href="/long-plays/">
                                 <span data-feather="playv"></span>