Re: Perform a join in 5 tables or more than that USIN ORM

2022-01-30 Thread narendra thapa
here are my models serializers and views and i need a data in tree structure. the function in view file is get_course_tree_view and rest are the models and serializers I need to join all these tables together to fetch data i was able to do only three joins On Sun, Jan 30, 2022 at 8:37 PM Sam Chaff

Reusable form templates not working in Django 4.0?!

2022-01-30 Thread Sammeeey
Please find the respective post in the Django Forum -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving em

Re: Perform a join in 5 tables or more than that USIN ORM

2022-01-30 Thread Sam Chaffy
Yes you can What’s your model look like ? On Sun, Jan 30, 2022 at 7:26 AM narendra...@gmail.com < narendrathapa...@gmail.com> wrote: > hello folks, > any django ex[ert here, I want to know if anybody can do multiple join > more than 5 tables at once using ORM > Prefetch,prefetch_related,select_

Perform a join in 5 tables or more than that USIN ORM

2022-01-30 Thread narendra...@gmail.com
hello folks, any django ex[ert here, I want to know if anybody can do multiple join more than 5 tables at once using ORM Prefetch,prefetch_related,select_related using any of these or in a different way please ping, or just write over here how can we solve that. i didn't get any clue help will

Re: Syntax to Generate salary for next month

2022-01-30 Thread AliHassanRaza Khan
Or get method if you want to retrieve a single value On Sun, 30 Jan 2022, 1:45 pm AliHassanRaza Khan, wrote: > use filter method > > On Sun, 30 Jan 2022, 4:50 am Feroz Ahmed, wrote: > >> Hi, >> >> I came across the problem, how to generate salary for upcoming month ( >> records are of month Jan

Re: Syntax to Generate salary for next month

2022-01-30 Thread AliHassanRaza Khan
use filter method On Sun, 30 Jan 2022, 4:50 am Feroz Ahmed, wrote: > Hi, > > I came across the problem, how to generate salary for upcoming month ( > records are of month January in db) > > > > > > *I have records in django db.* > > *Insert of new record* > > *update / delete / hideof record