[damned-lies] Fix images path on get_icon (fixes #685639)
- From: Gil Forcada Codinachs <gforcada src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Fix images path on get_icon (fixes #685639)
- Date: Sun, 7 Oct 2012 17:07:29 +0000 (UTC)
commit a12210a72f3639d8fa3f0c297fe9f4da7139de2d
Author: Gil Forcada <gforcada gnome org>
Date: Sun Oct 7 19:02:47 2012 +0200
Fix images path on get_icon (fixes #685639)
stats/models.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/models.py b/stats/models.py
index d0c56de..e3b29b1 100644
--- a/stats/models.py
+++ b/stats/models.py
@@ -1871,7 +1871,7 @@ class Information(models.Model):
return cmp(self.statistics.module_name(), other.statistics.module_name())
def get_icon(self):
- return "%simg/%s.png" % (settings.MEDIA_URL, self.type.split("-")[0])
+ return "%simg/%s.png" % (settings.STATIC_URL, self.type.split("-")[0])
def get_description(self):
text = self.description
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]