mirror of
https://github.com/django/django.git
synced 2024-12-23 17:46:27 +00: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')),
|
|
]
|