url(r'^th/service/renew/(?P<pk>\d+)$', renew_service, name="renew_service"), url(r'^th/service/delete/$', UserServiceDeleteView.as_view(), name='delete_service'), url(r'^th/service/onoff/(?P<user_service_id>\d+)/(?P<switch>(on|off))$', service_related_triggers_switch_to, name="service_related_triggers_switch_to"), # **************************************** # wizard # **************************************** url(r'^th/service/create/$', UserServiceWizard.as_view([ProviderForm, DummyForm, ConsumerForm, DummyForm, ServicesDescriptionForm]), name='create_service'), # every service will use django_th.views.finalcallback # and give the service_name value to use to # trigger the real callback url(r"^th/callbackevernote/$", "django_th.views_wizard.finalcallback", {'service_name': 'ServiceEvernote', }, name="evernote_callback", ), url(r"^th/callbackpocket/$", "django_th.views_wizard.finalcallback", {'service_name': 'ServicePocket', }, name="pocket_callback",
UserServiceDeleteView.as_view(), name='delete_service'), url(r'^th/service/delete/thanks', UserServiceDeletedTemplateView.as_view(), name="service_delete_thanks" ), url(r'^th/service/onoff/(?P<user_service_id>\d+)/(?P<switch>(on|off))$', service_related_triggers_switch_to, name="service_related_triggers_switch_to"), # **************************************** # wizard # **************************************** url(r'^th/service/create/$', UserServiceWizard.as_view([ProviderForm, DummyForm, ConsumerForm, DummyForm, ServicesDescriptionForm]), name='create_service'), # every service will use django_th.views.finalcallback # and give the service_name value to use to # trigger the real callback url(r"^th/callbackevernote/$", "django_th.views_wizard.finalcallback", {'service_name': 'ServiceEvernote', }, name="evernote_callback", ), url(r"^th/callbackpocket/$", "django_th.views_wizard.finalcallback", {'service_name': 'ServicePocket', }, name="pocket_callback",