Django: Save and restore a form's state using a cookie

I want to make a form that once submitted, on each next rendering of the form for the same user, the form will be already filled out with the data from the last time the user submitted it. sounds like something that django should have shortcut for - does it have it? if not what would be the easiest way to do it?

The best I could come up with is pickeling cleaned_data and saving it as a cookie, recreating the form from it later.

13
задан olamundo 11 February 2011 в 13:18
поделиться