from django.conf.urls import patterns, url from corehq.apps.tour.views import EndTourView urlpatterns = patterns('corehq.apps.tour.views', url(r'^end/(?P<tour_slug>\w+)/$', EndTourView.as_view(), name=EndTourView.urlname), )
from __future__ import absolute_import from __future__ import unicode_literals from django.conf.urls import url from corehq.apps.tour.views import EndTourView urlpatterns = [ url(r'^end/(?P<tour_slug>\w+)/$', EndTourView.as_view(), name=EndTourView.urlname), ]
from __future__ import absolute_import from django.conf.urls import url from corehq.apps.tour.views import EndTourView urlpatterns = [ url(r'^end/(?P<tour_slug>\w+)/$', EndTourView.as_view(), name=EndTourView.urlname), ]