Commit 91e9be45 authored by Trey Hunner's avatar Trey Hunner Committed by Tim Graham
Browse files

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

parent 7d1b69db
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -816,7 +816,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.