--- /dev/null
+# Generated by Django 4.1.9 on 2024-01-31 08:49
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("documents", "0014_project_logo_project_logo_mono"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="project",
+ name="logo_alt",
+ field=models.CharField(blank=True, max_length=255),
+ ),
+ ]
if self.project.logo_mono:
data['logo_mono'] = urljoin(
'https://' + Site.objects.get_current().domain,
- self.project.logo.url,
+ self.project.logo_mono.url,
)
+ if self.project.logo_alt:
+ data['logo_alt'] = self.project.logo_alt
if host:
data['gallery_url'] = host + self.gallery_url()
apiclient.api_call(user, "books/", data, beta=beta)