Alessandro,

It shows all the addresses inline of only the first?
>

It will show all of them inline.  See
http://www.djangoproject.com/documentation/model-api/#many-to-one-relationshipsand
scroll down to the description of "edit_inline".

  -- Scott Moonen

On Fri, Jun 20, 2008 at 8:48 AM, Alessandro Ronchi <
[EMAIL PROTECTED]> wrote:

> 2008/6/20 Scott Moonen <[EMAIL PROTECTED]>:
> > Alessandro, if an address is for only one company, then I suggest that
> you
> > remove the ManyToManyField, and instead put a ForeignKey within the
> Address
> > model that references Company.  If you set the edit_inline parameter on
> this
> > ForeignKey you should be able to edit the address right on the company
> page
> > in the admin app.
>
> It shows all the addresses inline of only the first?
> --
> Alessandro Ronchi
> Skype: aronchi
> http://www.alessandroronchi.net
>
> SOASI Soc.Coop. - www.soasi.com
> Sviluppo Software e Sistemi Open Source
> Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
> Tel.: +39 0543 798985 - Fax: +39 0543 579928
>
> Rispetta l'ambiente: se non ti è necessario, non stampare questa mail
>
> >
>


-- 
http://scott.andstuff.org/ | http://truthadorned.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to