Do you mean when you write tests? If so, when you get the response you can extract all the variables that was created inside the view if you're using locals(). That way, you can probably get the form instance (created for example by form=MyForm(request.POST)) which you can then untangle to get all the fields from the form instance.
On Aug 25, 4:31 pm, Joshua Russo <[email protected]> wrote: > I'm working on putting together parsing logic so that I can extract the form > variables from the response content of the test Client. That way I can just > change a few values and throw it back at the server. This is especially > helpful with large dynamic forms that use formsets. > My question is, has this already been done? My Google-fu came up with nada. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

