# HG changeset patch # User Brian Neal # Date 1446170074 18000 # Node ID 2908859c2fe4b3de822b43287c7a929451dce7bc # Parent 65b2bc9cb3cc3f5ce68b281f022910461d50d59c Smilies now use relative links. This is for upcoming switch to SSL. Currently we do not need absolute URLs for smilies. If this changes we can add it later. diff -r 65b2bc9cb3cc -r 2908859c2fe4 smiley/models.py --- a/smiley/models.py Thu Oct 29 20:15:52 2015 -0500 +++ b/smiley/models.py Thu Oct 29 20:54:34 2015 -0500 @@ -81,9 +81,8 @@ def html(self): """Returns a HTML img tag representation of the smiley.""" if self.image: - site = Site.objects.get_current() - return (u'%s' % - (site.domain, self.get_absolute_url(), self.title, self.title)) + return (u'%s' % + (self.get_absolute_url(), self.title, self.title)) return u'' html.allow_tags = True