list sharing implemented w. passing UTs & FTs; changes to apps.dashboard.urls, .models, .views & .tests.test_views to accomodate; functional_tests.test_sharing also ensures sharing visible in UX; templates/apps/dashboard/list.html & /my_lists.html updated with django templating & for loops

This commit is contained in:
Disco DeDisco
2026-02-18 13:53:05 -05:00
parent a85e0597d7
commit 0370f36e9e
8 changed files with 92 additions and 2 deletions

View File

@@ -10,6 +10,12 @@ class List(models.Model):
on_delete=models.CASCADE,
)
shared_with = models.ManyToManyField(
"lyric.User",
related_name="shared_lists",
blank=True,
)
@property
def name(self):
return self.item_set.first().text