Kaydet (Commit) 91e9be45 authored tarafından Trey Hunner's avatar Trey Hunner Kaydeden (comit) Tim Graham

Added urlpatterns variable in docs/topics/http/urls.txt.

üst 7d1b69db
...@@ -816,7 +816,9 @@ For example:: ...@@ -816,7 +816,9 @@ For example::
url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name='detail'), url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name='detail'),
], 'polls') ], 'polls')
url(r'^polls/', include(polls_patterns)), urlpatterns = [
url(r'^polls/', include(polls_patterns)),
]
This will include the nominated URL patterns into the given application This will include the nominated URL patterns into the given application
namespace. namespace.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment