[EMAIL PROTECTED] wrote: > Hi there, > > I'm very new to Django and I'm learning it by adapting the stuff from > the tutorial to a new (test) application, a Forum. The tutorial nicely > explains that you don't want "Polls" and "Choices" in the main menu, > because "Choices" is a part of "Poll". With my test-app I want to go > even further. I have a Forum, which has Threads, which have Posts. > > For starters, I want all of those to be accesible from the admin menu > (page 2 of the tutorial), so I made my model as so: > > class Forum(meta.Model): > [...] > class META: > admin = meta.Admin() > > class Thread(meta.Model): > forum = meta.ForeignKey(Forum, edit_inline=meta.STACKED) > [...] > > class Post(meta.Model): > thread = meta.ForeignKey(Thread, edit_inline=meta.STACKED) > [...] > > This doesn't work as intended, though. It only allows me to make new > Threads, but I can't see/edit/create Posts. Any thought on how to > tackle this? Thanks in advance! >
Inline editing is currently designed purely as a two level thing. This won't be fixed in trunk before it is fixed in the new-admin branch; I am specifically looking to allow this though, so stay tuned. There is no schedule for when this feature will be available in trunk. Also, be aware that this could end up a) With a very confusing UI b) POST-ing ridiculous amounts of data. Which may not be in your users best interests. My aim in enabling this feature is not really to encourage arbitrary level admins, but to allow them in the rare case they do make sense - and it is mainly intended for people using manipulators outside the admin. Rob