mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
d73d0e071c
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
8 lines
148 B
Python
8 lines
148 B
Python
from django.conf.urls import url
|
|
from django.http import HttpResponse
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'^$', lambda req: HttpResponse('example view')),
|
|
]
|