See #890: web UI and email notifications on new reports

This commit is contained in:
Eliot Berriot 2019-09-13 06:09:48 +02:00
parent 368b70d3a9
commit c9a9615be8
15 changed files with 292 additions and 4 deletions

View file

@ -69,6 +69,9 @@ class Playlist(models.Model):
def __str__(self):
return self.name
def get_absolute_url(self):
return "/library/playlists/{}".format(self.pk)
@transaction.atomic
def insert(self, plt, index=None, allow_duplicates=True):
"""