#9200: Add a session based form wizard -----------------------------------------------+---------------------------- Reporter: ddurham | Owner: nobody Status: new | Milestone: Component: django.contrib.formtools | Version: SVN Resolution: | Keywords: session wizard forms Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -----------------------------------------------+---------------------------- Comment (by danaspiegel):
In implementing this code (ddurham, thanks for providing it!), I ran into an issue where the usage of ModelForms doesn't work properly when stepping back to previous pages. Specifically, when using either ForeignKey or ManyToMany relationships, you cannot use the cleaned data to re-create new versions of the model instance since the representation of the form data for these two field types is different from the way you set __init__ data. I've fixed the code to work for my usage, and will try to post the changes (though I don't know if they cover all cases or are implemented appropriately. I believe this issue must be fixed before this patch is accepted. -- Ticket URL: <http://code.djangoproject.com/ticket/9200#comment:23> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.