Adding missing parenthesis

This commit is contained in:
Floyd Hightower 2017-12-23 07:56:00 -04:00 committed by GitHub
parent 5fc35eb7eb
commit 032f6ba06e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ Add the following import at the top of the file:
And, at the end of the file, add a pattern to include the login and logout views for the browsable API.
urlpatterns += [
url(r'^api-auth/', include('rest_framework.urls'),
url(r'^api-auth/', include('rest_framework.urls')),
]
The `r'^api-auth/'` part of pattern can actually be whatever URL you want to use.