aboutsummaryrefslogtreecommitdiffstats
path: root/tests/urls.py
blob: 4fb51c92e585a83646e0cf3b7f6be52d1bd5a49c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""
URLpatterns for the debug toolbar.

These should not be loaded explicitly; the debug toolbar middleware will patch
this into the urlconf for the request.
"""

from __future__ import unicode_literals

from django.conf.urls import patterns, url
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns('tests.views',
    url(r'^resolving1/(.+)/(.+)/$', 'resolving_view', name='positional-resolving'),
    url(r'^resolving2/(?P<arg1>.+)/(?P<arg2>.+)/$', 'resolving_view'),
    url(r'^resolving3/(.+)/$', 'resolving_view', { 'arg2' : 'default' }),
    url(r'^regular/(?P<title>.*)/$', 'regular_view'),
    url(r'^execute_sql/$', 'execute_sql'),
)