Skip to content

Commit c0fa92e

Browse files
committed
Merge pull request #2438 from soooooot/patch-1
correcting unclosed quote in docs routers.md
2 parents e39d841 + 3ca8f85 commit c0fa92e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api-guide/routers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,22 @@ For example, you can append `router.urls` to a list of existing views…
6060
router.register(r'accounts', AccountViewSet)
6161

6262
urlpatterns = [
63-
url(r'^forgot-password/$, ForgotPasswordFormView.as_view(),
63+
url(r'^forgot-password/$', ForgotPasswordFormView.as_view(),
6464
]
6565

6666
urlpatterns += router.urls
6767

6868
Alternatively you can use Django's `include` function, like so…
6969

7070
urlpatterns = [
71-
url(r'^forgot-password/$, ForgotPasswordFormView.as_view(),
71+
url(r'^forgot-password/$', ForgotPasswordFormView.as_view(),
7272
url(r'^', include(router.urls))
7373
]
7474

7575
Router URL patterns can also be namespaces.
7676

7777
urlpatterns = [
78-
url(r'^forgot-password/$, ForgotPasswordFormView.as_view(),
78+
url(r'^forgot-password/$', ForgotPasswordFormView.as_view(),
7979
url(r'^api/', include(router.urls, namespace='api'))
8080
]
8181

0 commit comments

Comments
 (0)