Re: Proposal: Allow ManyToMany using a intermediary table to be defined as symmetrical

2019-05-08 Thread Collin Anderson
Hi Nadège, Sorry for the delay. Yeah, when I was working on PR 8981, I ran into the symmetrical case and wasn't sure what the behavior should be, so I left the check in place to not allow the behavior. I asked my self the same question you did about possibly needing "through_reverse_defaults" a

Re: Proposal: Allow ManyToMany using a intermediary table to be defined as symmetrical

2019-04-28 Thread michel . nadege
Thank you for the feedback :) For reference: Ticket https://code.djangoproject.com/ticket/30421 Pull request https://github.com/django/django/pull/11298 Le vendredi 26 avril 2019 19:13:29 UTC+2, Aymeric Augustin a écrit : > > Hello Nadège, > > While I'm not an expert of this area, your proposal m

Re: Proposal: Allow ManyToMany using a intermediary table to be defined as symmetrical

2019-04-26 Thread Asif Saif Uddin
After reading your reasoning and code it seems logical for me. Let's create a pr for more input. On Tuesday, April 23, 2019 at 6:13:35 PM UTC+6, Nadège Michel wrote: > > Hello, > > We use self.referencing ManyToMany relationships with intermediate tables > in our work project > and I was wond

Re: Proposal: Allow ManyToMany using a intermediary table to be defined as symmetrical

2019-04-26 Thread Aymeric Augustin
Hello Nadège, While I'm not an expert of this area, your proposal makes sense to me. It looks like a reasonable extension of previous work. You can go ahead with a ticket and a pull request. Best regards, -- Aymeric. > On 23 Apr 2019, at 12:09, Nadège Michel wrote: > > Hello, > > We us

Proposal: Allow ManyToMany using a intermediary table to be defined as symmetrical

2019-04-23 Thread Nadège Michel
Hello, We use self.referencing ManyToMany relationships with intermediate tables in our work project and I was wondering why we had to create ourselves the reverse link when we need the relationship to be symmetrical. I looked at the 'symmetrical' attribute documentation and though we should