+ if self.project is not None:
+ if self.project.logo:
+ data['logo'] = urljoin(
+ 'https://' + Site.objects.get_current().domain,
+ self.project.logo.url,
+ )
+ if self.project.logo_mono:
+ data['logo_mono'] = urljoin(
+ 'https://' + Site.objects.get_current().domain,
+ self.project.logo_mono.url,
+ )
+ if self.project.logo_alt:
+ data['logo_alt'] = self.project.logo_alt