Hi guys, 

Is it possible to access the "form.cleaned_data" values from another 
function that is not part of a form-wizard? 

For example, I have a view like this: 

# form-wizard
class PatchWizard(SessionWizardView):
    def done(self, form_list, **kwargs):

       * < here i have the values of the form.cleaned_data >*
*
*
*        *# simple example to show the values:
        for form in form_list:
            print form.cleaned_data
            for k, v in form.cleaned_data.items():
                print k, v
        
        return render_to_response(
            'done.html',  
            {'form_data': [form.cleaned_data for form in form_list]},
        )

# another function
def download(request):
*    < here i would like to get the values from form.cleaned_data >*
    data = form.cleaned_data
    

I'm not sure if I could get it from the request object at this point. 

Any tips? :)

Thanks,

Leandro

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/nL73rxRTxhMJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to