Commit 1758473f authored by Enrico Zini's avatar Enrico Zini
Browse files

Use path in wizard urls. refs: #9

parent 8f048572
from django.conf.urls import url
from django.urls import path
from backend.mixins import VisitorTemplateView
from . import views
urlpatterns = [
url(r'^$', VisitorTemplateView.as_view(template_name="wizard/home.html"), name="wizard_home"),
url(r'^advocate$', views.Advocate.as_view(), name="wizard_advocate"),
url(r'^process/(?P<applying_for>[^/]+)$', views.NewProcess.as_view(), name="wizard_newprocess"),
path("", VisitorTemplateView.as_view(template_name="wizard/home.html"), name="wizard_home"),
path("advocate/", views.Advocate.as_view(), name="wizard_advocate"),
path("process/<applying_for>/", views.NewProcess.as_view(), name="wizard_newprocess"),
]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment