from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^create$', views.create, name='add_playbook'),
]

from django.conf.urls import url

from . import views
from ansible.forms import AnsibleForm1, AnsibleForm2
from ansible.views import PlaybookWizard


urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^create/$', PlaybookWizard.as_view([AnsibleForm1, AnsibleForm2])),
]

Add URL for PlaybookWizard