diff --git a/collection/models.py b/collection/models.py index 004cff36..6f4c512c 100644 --- a/collection/models.py +++ b/collection/models.py @@ -20,7 +20,7 @@ class Collection(UserOwnedEntity): cover = models.ImageField(_("封面"), upload_to=collection_cover_path, default=settings.DEFAULT_COLLECTION_IMAGE, blank=True) def __str__(self): - return str(self.owner) + ': ' + self.name + return str(self.owner) + ': ' + self.title @property def collectionitem_list(self): diff --git a/collection/templates/delete.html b/collection/templates/delete.html new file mode 100644 index 00000000..c170540e --- /dev/null +++ b/collection/templates/delete.html @@ -0,0 +1,123 @@ +{% load static %} +{% load i18n %} +{% load l10n %} +{% load humanize %} +{% load admin_url %} +{% load mastodon %} +{% load oauth_token %} +{% load truncate %} +{% load thumb %} + + + +
+ + + + + + + + +