Skip to content

Commit 6d11d27

Browse files
committed
test
1 parent 709c357 commit 6d11d27

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ RUN apk add \
7070
libffi-dev \
7171
gdk-pixbuf \
7272
pango \
73+
pandoc \
74+
font-noto-emoji \
7375
shared-mime-info
7476

7577
# Copy entrypoint

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ bootstrap: \
9292
# -- Docker/compose
9393
build: ## build the app-dev container
9494
@$(COMPOSE) build app-dev --no-cache
95-
@$(COMPOSE) build frontend-dev --no-cache
9695
.PHONY: build
9796

9897
down: ## stop and remove containers, networks, images, and volumes

src/backend/core/models.py

+4
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,10 @@ def generate_pdf(self, body_html, metadata):
695695
)
696696

697697
pdf_content = document_html.write_pdf(stylesheets=[css], zoom=1)
698+
699+
print("body_html")
700+
print(body_html)
701+
698702
response = FileResponse(BytesIO(pdf_content), content_type="application/pdf")
699703
response["Content-Disposition"] = f"attachment; filename={self.title}.pdf"
700704

0 commit comments

Comments
 (0)