Report like "matrix with Django ORM

54 views
Skip to first unread message

Walter Randazzo

unread,
May 9, 2021, 10:09:09 PM5/9/21
to Django users
Hi dudes,

I have to render a template with  a "matrix" data, I was trying to perform it with querys in orm but i can´t figure out how because the relationships of the models.

The idea is to show the members and what's months are paid in a specific year.

Template's out  to feed:
template.jpg
Models:
models.jpg

Any ideas about how to do this with queries?

Thanks in Adcvance!!!

Luciano Martins

unread,
May 10, 2021, 6:02:07 AM5/10/21
to Django users
coloque seu code no github...

Abdelrhman Elbershawi

unread,
May 10, 2021, 2:58:41 PM5/10/21
to django...@googlegroups.com
I will try to figure it out and get back to you.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cecce065-1204-4c99-a54d-a51d1f6decd5n%40googlegroups.com.

Walter Randazzo

unread,
May 10, 2021, 3:02:01 PM5/10/21
to django...@googlegroups.com

Walter Randazzo

unread,
May 10, 2021, 3:02:04 PM5/10/21
to django...@googlegroups.com
I will. thxs

--

Walter Randazzo

unread,
May 10, 2021, 4:45:16 PM5/10/21
to django...@googlegroups.com
The code in textlines: models &  view


--
Reply all
Reply to author
Forward
0 new messages