old_contents: from django.core.urlresolvers import reverse
  from django.shortcuts import get_object_or_404, render
  from django.http import HttpResponseRedirect, HttpResponse
  from formtools.wizard.views import NamedUrlSessionWizardView
  from ansible.models import Playbook
  
  
  def index(request):
      return HttpResponse("200")
  
  
  class PlaybookWizard(NamedUrlSessionWizardView):
      def get_form_initial(self, step):
          initial = {}
          return self.initial_dict.get(step, {})
  
      def done(self, form_list, **kwargs):
          return HttpResponseRedirect('/ansible')
  
  
new_contents: from django.core.urlresolvers import reverse
  from django.shortcuts import get_object_or_404, render
  from django.http import HttpResponseRedirect, HttpResponse
  from formtools.wizard.views import NamedUrlSessionWizardView
  from ansible.models import Playbook
  
  
  def index(request):
      return HttpResponse("200")
  
  
  class PlaybookWizard(NamedUrlSessionWizardView):
      def get_form_initial(self, step):
          initial = {}
          return self.initial_dict.get(step, {})
  
      def done(self, form_list, **kwargs):
          return HttpResponseRedirect('/playbooks')
  
  
subject: Fix HttpRedirect url