Add root API showing the new endpoints.
Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
afd4748426
commit
49bb7c879e
@@ -2,10 +2,11 @@ from __future__ import unicode_literals
|
||||
|
||||
from django.conf.urls import include, url
|
||||
|
||||
from .api_views import BrowseableObtainAuthToken
|
||||
from .api_views import APIRoot, BrowseableObtainAuthToken
|
||||
|
||||
|
||||
api_urls = [
|
||||
url(r'^$', APIRoot.as_view(), name='api_root'),
|
||||
url(
|
||||
r'^auth/token/obtain/$', BrowseableObtainAuthToken.as_view(),
|
||||
name='auth_token_obtain'
|
||||
|
||||
Reference in New Issue
Block a user