Skip to content

Commit 88c75ba

Browse files
authored
Fixed "typo" in example.
Fixing code "typo" in example. In the original file, line 145 reads: url(r'^api-auth/', include('rest_framework.urls'), It's missing the closing parenthesis.
1 parent 991868a commit 88c75ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/4-authentication-and-permissions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Add the following import at the top of the file:
142142
And, at the end of the file, add a pattern to include the login and logout views for the browsable API.
143143

144144
urlpatterns += [
145-
url(r'^api-auth/', include('rest_framework.urls'),
145+
url(r'^api-auth/', include('rest_framework.urls')),
146146
]
147147

148148
The `r'^api-auth/'` part of pattern can actually be whatever URL you want to use.

0 commit comments

Comments
 (0)