summaryrefslogtreecommitdiffstats
path: root/myapp/urls.py
blob: 463b774fbf6e4a14cd5aefea01539cca57833538 (plain)
1
2
3
4
5
6
7
8
9
from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^$', views.app, name='app'),        # at this point /app string is consumed
    url(r'^page', views.page, name='page'),  # at this point /app string is consumed as well, therefore /app/page hits this
    url(r'^cl', views.cl_scrap),
]