def get_logo_url(self, obj):
        """Get the community logo URL."""
        if current_app and obj.logo_url:
            return u'{site_url}{path}'.format(
                site_url=current_app.config.get('THEME_SITEURL'),
                path=obj.logo_url,
            )