django/tests/resolve_url/urls.py

11 lines
142 B
Python

from django.conf.urls import url
def some_view(request):
pass
urlpatterns = [
url(r'^some-url/$', some_view, name='some-view'),
]