Re: Django Model related_name

2022-09-08 Thread Toshar Saini
when you want to fetch multiple objects from reverse relation(foriengkey) On Tue, Sep 6, 2022 at 3:51 PM Justin Kpakpa wrote: > Hello, pls under what circumstances do you need to defined a related_name > of a model field? > > -- > You received this message because you are subscribed to the Googl

Re: Django Model related_name

2022-09-06 Thread DJANGO DEVELOPER
when you want to fetch multiple objects from that model ( having a foreign key relation) On Tue, Sep 6, 2022 at 3:21 PM Justin Kpakpa wrote: > Hello, pls under what circumstances do you need to defined a related_name > of a model field? > > -- > You received this message because you are subscrib

Django Model related_name

2022-09-06 Thread Justin Kpakpa
Hello, pls under what circumstances do you need to defined a related_name of a model field? -- 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+unsubsc