Debian Codegraph @

menu_generator/tests/urls.py

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 from django.conf.urls import url
2
3 def testview(request):
4 return 'foo'
5
6 urlpatterns = [
7 url(r'named-url', lambda: 'foo', name='named_url'),
8 url(r'named-with-params/(?P<pk>\d+)/', lambda: 'foo', name='named_with_params'),
9 url(r'known-view', testview, name='known_view'),
10 url(r'', lambda: 'foo'),
11 ]