dispatch/modules/content/models.py
def get_medium_url(self):
        """Returns the medium size image URL."""
        if self.is_gif():
            return self.get_absolute_url()
        return '%s%s-%s.jpg' % (settings.MEDIA_URL, self.get_name(), 'medium')
def get_medium_url(self):
        """Returns the medium size image URL."""
        if self.is_gif():
            return self.get_absolute_url()
        return '%s%s-%s.jpg' % (settings.MEDIA_URL, self.get_name(), 'medium')
def get_medium_url ( self ) : if self . is_gif ( ) : return self . get_absolute_url ( ) return '%s%s-%s.jpg' % ( settings . MEDIA_URL , self . get_name ( ) , 'medium' )
Returns the medium size image URL.
Returns the medium size image URL .