Exemple #1
0
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),
)
Exemple #2
0
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),
]
Exemple #3
0
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),
]