Skip to content

docs: document reset feature #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

harry48225
Copy link

Adds documentation for the reset feature

step_url = kwargs.get('step', None)
if step_url is None:
    if 'reset' in self.request.GET:
        self.storage.reset()
        self.storage.current_step = self.steps.first
    query_string = '?%s' % self.request.GET.urlencode() if self.request.GET else ''
    return redirect(self.get_step_url(self.steps.current) + query_string)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant