Thank you Grigoriy, It's given me some new ideas. John
On 5/16/07, Grigoriy Petukhov <[EMAIL PROTECTED]> wrote: > > > John M wrote: > > I have checked the forum, and still can't believe I can't find a > > solution to what I perceive as a simple problem: > > > > I have two models: > > > > Customer > > Name > > phone > > > > Order > > Customer (foreign key to Customer) > > date > > product > > > > When I put up the form for order, I don't want the Customer (foreign > > key) to appear. I've not seen anything on the forum that shows you > > can easily eliminate a field from the form? > > > > Unless I'm missing how to create a custom form, bind it to the DB's > > data and use it like I can form_for_instance() and form_for_model(). > > > > using FFI with a customer form, it doesn't seem to bind any data to > > the fields, unless I'm missing something big, cause that would be > > perfect, no? > > > > Hoping someone can help > > > > > > > > > > Check this thread: http://softwaremaniacs.org/forum/viewtopic.php?id=596 > Here is the solution for exactly the same problem as you have described. > Thread in russian but there is a lot of code ) > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

