from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^linha/(?P<idLinha>[0-9]+)$', views.getLinha),
    url(r'^linha/(?P<idLinha>[0-9]+)/(?P<token>.+)/(?P<lat>.+)/(?P<lng>.+)$', views.writeLinha),
    url(r'^test$', views.testLinha),
]

from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^linha/(?P<idLinha>[0-9]+)$', views.testLinha),
    url(r'^linha/(?P<idLinha>[0-9]+)/(?P<token>.+)/(?P<lat>.+)/(?P<lng>.+)$', views.writeLinha),
]

Test in the original URL
Test in the original URL
