Quick bugfix for previous bugfix. Run tests, dummy
This commit is contained in:
Родитель
8a776c3d48
Коммит
5fb77065af
|
@ -623,7 +623,7 @@ class Badge(models.Model):
|
|||
"issuer": issuer
|
||||
}
|
||||
|
||||
image_url = self.image and self.image_url or DEFAULT_BADGE_IMAGE_URL
|
||||
image_url = self.image and self.image.url or DEFAULT_BADGE_IMAGE_URL
|
||||
data['image'] = urljoin(base_url, image_url)
|
||||
|
||||
return data
|
||||
|
|
Загрузка…
Ссылка в новой задаче