Hi Paul, On Tue, 2007-04-03 at 11:45 +0000, Paul Childs wrote: > Hi folks, > > Can someone suggest to me what I need to do to make this question a > little more answerable?
"All our newforms gurus are out of the office at the moment. If you'd like to leave a message, please press..." :-) Sorry, your message slipped through the cracks. Let's try to fix that. > > On Apr 1, 12:05 am, "Paul Childs" <[EMAIL PROTECTED]> wrote: > > I am trying to make the switch to new forms with little success. I > > have searched the news group, looked over examples (found this to be > > very good http://www.djangoproject.com/documentation/models/model_forms/) > > and looked at some suggested tutorials. > > > > The reason for the lack of success is that a lot of our code mimics > > the edit inline behaviour found in the current Django admin using the > > old forms and I haven't seen any way or examples of how to do this > > with newforms. > > > > Could someone please give me a push in the right direction, example > > code or a link to a tutorial. I'm not an expert in this area yet, but I suspect you are waiting on some new functionality that has only just been committed on the newforms-admin branch. If you have a look at http://code.djangoproject.com/changeset/4836 you'll see that Joseph Kocherhans committed the subforms-within-forms stuff that is needed for behaviour like edit_inline. On django-developers recently, there was a thread (http://groups.google.com/group/django-developers/browse_frm/thread/8b6094bd8811c140/# ) that talked about exactly this. So you could (a) experiment with the newforms-admin branch, since it tracks trunk fairly closely, (b) pull out the relevant bits from [4836] and apply them to your local copy, or (c) wait a little longer until newforms-admin is merged with trunk. The above thread indicates that Adrian is eager to move forwards on this. So it looks hopeful. Sorry if none of these are a perfect solution for you. It's work in progress at the moment. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

