'This step only runs if all forms are valid. Simply emits a simple
template that uses JS to redirect to the newly created object.'

def done(self, form_list, **kwargs):

    (form_one, form_two) = list(form_list)
    instance = form_two.save()
    url = self.get_success_url(instance)
    language = form_one.cleaned_data['language']
    if (not url):
        page = self.get_origin_page()
        if page:
            try:
                url = page.get_absolute_url(language)
            except NoReverseMatch:
                url = '/'
        else:
            url = '/'
    return SimpleTemplateResponse('cms/wizards/done.html', {'url': url})
