mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Moved tests for render shortcuts to their own app.
This commit is contained in:
parent
b38637d581
commit
bf1bd0fbc9
8 changed files with 112 additions and 106 deletions
|
@ -44,20 +44,6 @@ urlpatterns += [
|
|||
url='/中文/target/', permanent=True)),
|
||||
]
|
||||
|
||||
urlpatterns += [
|
||||
url(r'^shortcuts/render_to_response/$', views.render_to_response_view),
|
||||
url(r'^shortcuts/render_to_response/request_context/$', views.render_to_response_view_with_request_context),
|
||||
url(r'^shortcuts/render_to_response/content_type/$', views.render_to_response_view_with_content_type),
|
||||
url(r'^shortcuts/render_to_response/dirs/$', views.render_to_response_view_with_dirs),
|
||||
url(r'^shortcuts/render/$', views.render_view),
|
||||
url(r'^shortcuts/render/base_context/$', views.render_view_with_base_context),
|
||||
url(r'^shortcuts/render/content_type/$', views.render_view_with_content_type),
|
||||
url(r'^shortcuts/render/status/$', views.render_view_with_status),
|
||||
url(r'^shortcuts/render/current_app/$', views.render_view_with_current_app),
|
||||
url(r'^shortcuts/render/dirs/$', views.render_with_dirs),
|
||||
url(r'^shortcuts/render/current_app_conflict/$', views.render_view_with_current_app_conflict),
|
||||
]
|
||||
|
||||
# json response
|
||||
urlpatterns += [
|
||||
url(r'^json/response/$', views.json_response_view),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue