mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-03 20:10:10 +03:00
Add missing parenthesis
This commit is contained in:
parent
e88d46a4db
commit
51884ab962
|
@ -79,7 +79,7 @@ For example:
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^forgot-password/$', ForgotPasswordFormView.as_view()),
|
url(r'^forgot-password/$', ForgotPasswordFormView.as_view()),
|
||||||
url(r'^api/', include((router.urls, 'app_name')),
|
url(r'^api/', include((router.urls, 'app_name'))),
|
||||||
]
|
]
|
||||||
|
|
||||||
(`include` also allows an optional `namespace` parameter to also create an _instance namespace_.
|
(`include` also allows an optional `namespace` parameter to also create an _instance namespace_.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user