yml schrieb: > This look very interesting so what I will do is to install magic > removal branch this evening and try your recipe.
But: be prepared that if you use this on existing code, you might have to change quite a lot. See http://code.djangoproject.com/wiki/RemovingTheMagic --and, it is a kind of moving target. Mostly functional, but here and there *are* still serious problems. I'm not sure if you really have to install the new version. I've only used Django with the magic removal branch ;-) > I have a couple of question before doing that, I want to make sure that > I have a good understanding of what I should do. > > Could you confirm that "Person" in your code is related to what I call > Member in my Model? > What is "pwuse" ? What I would like to do is to add the current logged > in "User" in the user attribute of my Member and, this at run time. Yes, People this is a Model. pwuse is just some random stuff, forget about it. > Just to make here it is yet another time my scenario: > A user is logged in and he want to create a member. (The Member class > has a foreign key relation to the User class) So What I want to do is > to create display the from representing the Member minus the user > field. [This is were I think you method is helping me] Yep. > The user will > key in all the needed information click on submit. > My application will add the user, based on the session information, > then the application will validate the information. If everything is > fine the application will save/create my member else ask to the end > user to correct its form. Well, that's the plain Django route here. > > Thank you for your help and your time. You're welcome :-) Michael --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---