We had a similar requirement in one of our products. We solved it by assigning the user a unique transaction id when they start the process, and saving all data in a temp db (redis) until the user completed the process. And whenever the user accessed a page with the transaction id in the get params, the data was autofilled in the form.
Maybe you can do something similar by saving data for each part of the wizard in a temp db under one key and using that to pre-populate the forms?
Also, we used keys that woyld expire after some time, thus if the user didn't complete the process, our db would start filling up with stale transaction data.
Hope that helps.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/50e1303a-0ad8-4ec9-9e41-85729c4b8b02%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment