2π
β
-
You donβt need to pickle form. If you want to store form value in the session, store form.cleaned_data
-
Based on whatever you have said, you are doing, you may want to checkout django form wizard. It pickles the data and stores it in the next forms as hidden values, you get all forms fields after completion.
π€lprsd
0π
I donβt know how helpful this will be, but there is explanation of this type of error in JSON serializer
- [Answered ]-Creating & Updating UserProfiles in Django
- [Answered ]-Django 1.3.1 model form clean method
0π
if validation fails put the request.POST in your sessions and redirect the user back as usual. your other view simply has to collect this and initialize forms with invalid data and the errors you found on your POST view will re-appear in the redirected view.
π€code shogan
- [Answered ]-Django Split a charfield output which is seperated by ','(comma) into an array of strings.?
- [Answered ]-Django: accessing variable value from TemplateView
- [Answered ]-Django S3BotoStorage __init__ override error , "has no attribute 'rsplit'"
- [Answered ]-Django "no module named myapp.models"
Source:stackexchange.com