Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8539783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:26:56+00:00 2026-06-11T11:26:56+00:00

I am using Django’s FormWizard for a multi-step form and as a last step

  • 0

I am using Django’s FormWizard for a multi-step form and as a last step (after saving the data) I would like to show a summary of the previously entered form data.

I can achieve this by overriding the done() method like this:

def done(self, form_list, **kwargs):
    info = self.save_info(form_list[0])
    extra = self.save_extra(info, form_list[1])
    # how to provide context for redirect?
    # return redirect('confirmation.html')
    # this works, but uses POST
    return render_to_response(
        'confirmation.html',
        {'form_list': [form.cleaned_data for form in form_list]},
        context_instance=RequestContext(self.request)
    ) 

Instead of calling the confirmation via POST I would like to use a redirect (browser back button). But I am not sure how to pass on the form_list to the view/template since redirects don’t take a context. Any ideas if there is a clean standard way of doing this?

Note: The data is entered by an anonymous user. So the saved data and the user are not associated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:26:57+00:00Added an answer on June 11, 2026 at 11:26 am

    You could also save the formdata in a session, and retrieve that info when calling the confirmation.html view.

    If you use this I would advise to set SESSION_EXPIRE_AT_BROWSER_CLOSE = True or an expire time for the session.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using django-registration and would like to have a different page for failed
I'm using Django 1.3, and would like to get an array of objects using
Using Django 1.3 with PostgreSQL 9.0, I have a multi-step object creation function/view, where:
Using django templates I would like to split a block of text on the
Using django, which is the way to check if data is present? I know
Am using django social-auth authentication for my app.After login to facebook or twitter from
I using Django and a generic view django.views.generic.create_update.create_object I have a model form wich
Am using Django's form for my login page. I want to set focus to
Using Django, I want to make some data available for download. My jQuery call
Using django-social-auth to grab user data from facebook, it is returning a list of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.