Re: InlineModelAdmin related items on two levels

2010-02-14 Thread Ogi Vranesic
>>On Feb 14, 6:19 am, Ogi Vranesic wrote: >> Hi all >> >> I read the very good tutorial onhttp://docs.djangoproject.com/en/dev/ref/contrib/admin/ >> and understood that the admin interface has the ability to edit models on the >> same page as a parent model and these are called inlines. For two

Re: InlineModelAdmin related items on two levels

2010-02-13 Thread Matt Schinckel
Oh, and it is not flawless, there were still some issues I didn't get sorted out. I had some validation errors of some sort, I think, when updating data under certain circumstances, but I never quite completely tracked it down. -- You received this message because you are subscribed to the Google

Re: InlineModelAdmin related items on two levels

2010-02-13 Thread Matt Schinckel
On Feb 14, 6:19 am, Ogi Vranesic wrote: > Hi all > > I read the very good tutorial > onhttp://docs.djangoproject.com/en/dev/ref/contrib/admin/ > and understood that the admin interface has the ability to edit models on the > same page as a parent model and these are called inlines. For two relate

InlineModelAdmin related items on two levels

2010-02-13 Thread Ogi Vranesic
Hi all I read the very good tutorial on http://docs.djangoproject.com/en/dev/ref/contrib/admin/ and understood that the admin interface has the ability to edit models on the same page as a parent model and these are called inlines. For two related models is this easy: class A (models.Model):