<reponame>gotpredictions/vue-todo<gh_stars>0
from django.conf.urls import url
from django.views.decorators.csrf import csrf_exempt

from . import views

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^list$', views.get_list, name='list'),
    url(r'^create$', csrf_exempt(views.create), name='create'),
    url(r'^details/(?P<task_id>[0-9]+)$', views.details, name='details'),
    url(r'^update/(?P<task_id>[0-9]+)$', csrf_exempt(views.update), name='update'),
]

from django.conf.urls import url
from django.views.decorators.csrf import csrf_exempt

from . import views

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^list$', views.get_list, name='list'),
    url(r'^create$', csrf_exempt(views.create), name='create'),
    url(r'^details/(?P<task_id>[0-9]+)$', views.details, name='details'),
    url(r'^update/(?P<task_id>[0-9]+)$', csrf_exempt(views.update), name='update'),
]