Commit 799fbc72 authored by Trey Hunner's avatar Trey Hunner Committed by Tim Graham
Browse files

[1.10.x] Added urlpatterns variable in docs/topics/http/urls.txt.

Backport of 91e9be45 from master
parent 69de988f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -822,7 +822,9 @@ For example::
        url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name='detail'),
    ], 'polls')

    urlpatterns = [
        url(r'^polls/', include(polls_patterns)),
    ]

This will include the nominated URL patterns into the given application
namespace.