forked from extern/django-helpdesk
* Remove excess slash in media urls. Note thta MEDIA_URL now needs to
finish in a slash.
This commit is contained in:
@@ -341,7 +341,7 @@ class Ticket(models.Model):
|
||||
def _get_priority_img(self):
|
||||
""" Image-based representation of the priority """
|
||||
from django.conf import settings
|
||||
return u"%s/helpdesk/priorities/priority%s.png" % (settings.MEDIA_URL, self.priority)
|
||||
return u"%shelpdesk/priorities/priority%s.png" % (settings.MEDIA_URL, self.priority)
|
||||
get_priority_img = property(_get_priority_img)
|
||||
|
||||
def _get_priority_span(self):
|
||||
|
Reference in New Issue
Block a user