Awesome, this worked perfectly. I completely forgot about custom template tags. I can now build the form dynamically and display any info from the object.
On Apr 24, 1:51 pm, "Phil Davis" <[EMAIL PROTECTED]> wrote: > 2008/4/24Raisins<[EMAIL PROTECTED]>: > > > > If you really want to do it you can either write a custom template tag > which in your case would take X.id as argument and return the correct > form field (the tmplate tag code can access the context and find the > form object). See the template_python doc for details. > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---