Skip to content

Commit 50653e9

Browse files
fix: add Blob.__str__() (#10284)
Keeps the model in sync with mailarchive's verison
1 parent d53ceff commit 50653e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ietf/blobdb/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ class Meta:
6464
),
6565
]
6666

67+
def __str__(self):
68+
return f"{self.bucket}:{self.name}"
69+
6770
def save(self, **kwargs):
6871
db = get_blobdb()
6972
with transaction.atomic(using=db):

0 commit comments

Comments
 (0)