mirror of
https://github.com/fergalmoran/dss.git
synced 2026-03-26 23:45:15 +00:00
Fixed non-debug mix-image url
This commit is contained in:
@@ -55,7 +55,7 @@ class Mix(_BaseModel):
|
||||
|
||||
def get_image_url(self):
|
||||
images_root = localsettings.IMAGE_URL if hasattr(localsettings, 'IMAGE_URL') else "%s/mix_images/" % settings.MEDIA_URL
|
||||
ret = "%s/%s.%s" % (images_root, self.uid, self.mix_image)
|
||||
ret = "%s/%s" % (images_root, self.mix_image)
|
||||
return ret
|
||||
"""
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user