mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #12815 -- Added TemplateResponse, a lazy-evaluated Response class. Thanks to Simon Willison for the original idea, and to Mikhail Korobov and Ivan Sagalaev for their assistance, including the draft patch from Mikhail.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -9,4 +9,7 @@ urlpatterns = patterns('',
|
||||
(r'^error/$', views.server_error),
|
||||
(r'^null_view/$', views.null_view),
|
||||
(r'^permission_denied/$', views.permission_denied),
|
||||
|
||||
(r'^template_response/$', views.template_response),
|
||||
(r'^template_response_error/$', views.template_response_error),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user