mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Merged regressiontests and modeltests into the test root.
This commit is contained in:
parent
b3d2ccb5bf
commit
89f40e3624
1050 changed files with 0 additions and 0 deletions
9
tests/handlers/urls.py
Normal file
9
tests/handlers/urls.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
from django.conf.urls import patterns, url
|
||||
from django.http import HttpResponse, StreamingHttpResponse
|
||||
|
||||
urlpatterns = patterns('',
|
||||
url(r'^regular/$', lambda request: HttpResponse(b"regular content")),
|
||||
url(r'^streaming/$', lambda request: StreamingHttpResponse([b"streaming", b" ", b"content"])),
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue