Re: with templated-docs: how to insert images from an ImageField

2021-01-19 Thread Diptesh Choudhuri
https://templated-docs.readthedocs.io/en/latest/templatetags.html#image
This looks useful.

On Wednesday, January 20, 2021 at 4:13:04 AM UTC+5:30 fenrir...@gmail.com 
wrote:

> I'm generating reports using (a patched for django 3x fork of) 
> templated-docs . This module 
> lets you create OTD templates in LibreOffice and render them to PDF inside 
> a django view.
>
> This works great for complex documents with text, but I have no clue how 
> to insert images as well. The images come from an ImageField in the table 
> from which I get the info 
> that goes into the document.
> does anyone have experience how to create reports with images? I'm open 
> towards something else than templated-docs
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6d9520ac-82ce-4702-88e3-cf559a1b6999n%40googlegroups.com.


with templated-docs: how to insert images from an ImageField

2021-01-19 Thread Fenrir Sivar
I'm generating reports using (a patched for django 3x fork of) 
templated-docs . This module lets 
you create OTD templates in LibreOffice and render them to PDF inside a 
django view.

This works great for complex documents with text, but I have no clue how to 
insert images as well. The images come from an ImageField in the table from 
which I get the info 
that goes into the document.
does anyone have experience how to create reports with images? I'm open 
towards something else than templated-docs

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/93bd82d3-3867-4c3a-a687-7fa01371991en%40googlegroups.com.