Re: Improved labels for M2M relations

2020-11-03 Thread Julian Klotz
efault. Whilst a ManyToManyField can be declared on one model, > it adds a reverse field on the other model. We'd have to show both sides of > the relation e.g. "Relation between and ". > > On Tue, 27 Oct 2020 at 08:56, Julian Klotz wrote: > >> … one last thou

Re: Improved labels for M2M relations

2020-10-27 Thread Julian Klotz
… one last thought: The verbose name could be: “Media Item-Piece relation” The string presentation could be: “Relation to ”, e.g. “Relation to Piece xyz” Together: *Media Item-Piece relation: Relation to Piece xyz (ID: 11773)* Julian Klotz schrieb am Dienstag, 27. Oktober 2020 um 09:30:59 UTC

Re: Improved labels for M2M relations

2020-10-27 Thread Julian Klotz
also > help with debugging as the label appears in the default str/repr. My main > question is, does this not trigger migrations on user projects? > > Thanks, > > Adam > > On Mon, 26 Oct 2020 at 16:28, Julian Klotz wrote: > >> >> Hey there, >> >> here

Improved labels for M2M relations

2020-10-26 Thread Julian Klotz
Hey there, here’s a little topic that impacts the usability of Django admin’s delete views. When deleting an object using django admin, you get a nice summary of all deleted objects. I really like the overview, but the labels used to describe m2m relations that will be deleted aren't user-fri