Re: Show labels next to ManyToMany raw_id_fields

2016-03-03 Thread Tim Graham
ticket is: https://code.djangoproject.com/ticket/26313 On Tuesday, February 17, 2009 at 4:52:25 PM UTC-5, Alex Gaynor wrote: > > > > On Tue, Feb 17, 2009 at 4:50 PM, João Olavo Baião de Vasconcelos < > joao...@gmail.com > wrote: > >> On Tue, Feb 17, 2009 at 5:15 PM, Alex Gaynor > > wrote: >> >>> S

Re: Show labels next to ManyToMany raw_id_fields

2009-02-17 Thread Alex Gaynor
On Tue, Feb 17, 2009 at 4:50 PM, João Olavo Baião de Vasconcelos < joaool...@gmail.com> wrote: > On Tue, Feb 17, 2009 at 5:15 PM, Alex Gaynor wrote: > >> Sure, what you're doing will be similar to the way it works for a foreign >> key, but you're dealing with multiple values, so it'll be something

Re: Show labels next to ManyToMany raw_id_fields

2009-02-17 Thread João Olavo Baião de Vasconcelos
On Tue, Feb 17, 2009 at 5:15 PM, Alex Gaynor wrote: > Sure, what you're doing will be similar to the way it works for a foreign > key, but you're dealing with multiple values, so it'll be something like > this: > http://dpaste.com/121833/ > You'll need to test this out to make sure it works, but

Re: Show labels next to ManyToMany raw_id_fields

2009-02-17 Thread Alex Gaynor
On Tue, Feb 17, 2009 at 1:54 PM, João Olavo Baião de Vasconcelos < joaool...@gmail.com> wrote: > On Tue, Feb 17, 2009 at 11:47 AM, Alex Gaynor wrote: > >> I think value is a list in that case, of the primary keys, but the best >> way to find out is through expirementation, have that method return

Re: Show labels next to ManyToMany raw_id_fields

2009-02-17 Thread João Olavo Baião de Vasconcelos
On Tue, Feb 17, 2009 at 11:47 AM, Alex Gaynor wrote: > I think value is a list in that case, of the primary keys, but the best way > to find out is through expirementation, have that method return nothing but > a string representation of value and look at that page, or use some other > form of lo

Re: Show labels next to ManyToMany raw_id_fields

2009-02-17 Thread João Olavo Baião de Vasconcelos
On Tue, Feb 17, 2009 at 11:47 AM, Alex Gaynor wrote: > I think value is a list in that case, of the primary keys, but the best way > to find out is through expirementation, have that method return nothing but > a string representation of value and look at that page, or use some other > form of lo

Re: Show labels next to ManyToMany raw_id_fields

2009-02-17 Thread Alex Gaynor
On Tue, Feb 17, 2009 at 9:44 AM, João Olavo Baião de Vasconcelos < joaool...@gmail.com> wrote: > Hello all, > > when I save an object that has a ForeignKey raw_id_field, it shows the > label (Unicode representation) of the related object next to the field, > instead of just the field with object's