Make it possible to fully delete unlisted/unrated extensions #81

Merged
Anna Sirota merged 24 commits from fully-delete-extension into main 2024-04-19 11:00:19 +02:00
Showing only changes of commit 783af25714 - Show all commits

View File

@ -261,7 +261,7 @@ class Extension(
log.warning('%(mode)sdeleting preview file pk=% source=%s', mode, p.pk, p.source.name) log.warning('%(mode)sdeleting preview file pk=% source=%s', mode, p.pk, p.source.name)
for v in versions: for v in versions:
v.delete(hard=hard) v.delete(hard=hard)
log.warning('%(mode)sdeleting extension pk=%s%sdeleted', mode, self.pk) log.warning('%(mode)sdeleting extension pk=%s', mode, self.pk)
super().delete(hard=hard) super().delete(hard=hard)
def get_absolute_url(self): def get_absolute_url(self):