Override the process_step method do that when step one is being
processed, it creates the queryset to be used by step 2 then.

if(step==1):
    if(form.is_valid()):
        self.step2_queryset=Book.objects.filter(**form.cleaned_data)
elif(step==0):
    self.step2_queryset=None

Then, override the get_form method to grab the self.step2_queryset
variable and use it in the form. Thus you don't have to worry about
cleaning forms more than once.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to