summaryrefslogtreecommitdiffstats
path: root/myapp/urls.py
blob: 0ef0e5a5bb45ca0df1b4ff88e6aa6a41a9a145d5 (plain)
1
2
3
4
5
6
7
8
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
]