From 5fb77065afb62504c07440c68d94ece6655f1f0a Mon Sep 17 00:00:00 2001 From: Les Orchard Date: Sun, 23 Dec 2012 15:54:42 -0500 Subject: [PATCH] Quick bugfix for previous bugfix. Run tests, dummy --- badger/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badger/models.py b/badger/models.py index a0737d7..ab3d41f 100644 --- a/badger/models.py +++ b/badger/models.py @@ -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