Join table in django

15 views
Skip to first unread message

Nouhaila Khiyate

unread,
Jun 8, 2020, 3:58:35 PM6/8/20
to django...@googlegroups.com
Hello ,
i need to get infomation with one queryset from two different tables  but i don't know how can i use the join help me please

Yannick Kiki

unread,
Jun 8, 2020, 4:09:22 PM6/8/20
to django...@googlegroups.com
Can you please , let us see the two tables models and specify which information you would like to get ?

On Mon, Jun 8, 2020 at 20:58 Nouhaila Khiyate <nouhaila....@gmail.com> wrote:
Hello ,
i need to get infomation with one queryset from two different tables  but i don't know how can i use the join help me please

--
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/CAHBR0sAD2-UodY60M68gytN2zVg6bXd6SeK2JV1kYxUqTZUVbQ%40mail.gmail.com.

Yannick Kiki

unread,
Jun 8, 2020, 4:12:47 PM6/8/20
to django...@googlegroups.com
Or just an example illustrating what you are trying to do..

Nouhaila Khiyate

unread,
Jun 8, 2020, 5:26:41 PM6/8/20
to django...@googlegroups.com
i have these two classes i want to get dateDebut,dateFin,statut from demande_congé and nom,prenom from employe 

Capture d’écran (316).png
Capture d’écran (317).png
Reply all
Reply to author
Forward
0 new messages