Merge branch 'develop' into feature/emailcommands
This commit is contained in:
@@ -102,10 +102,14 @@ handler404 = 'views.error404_view'
|
||||
handler400 = 'views.error400_view'
|
||||
handler403 = 'views.error403_view'
|
||||
|
||||
from oauth2_provider.views import base
|
||||
|
||||
urlpatterns = [
|
||||
# url(r'^password_change/$',auth_views.password_change),
|
||||
# url(r'^password_change_done/$',auth_views.password_change_done),
|
||||
url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
||||
# url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
||||
url(r'^o/authorize/$', base.AuthorizationView.as_view(), name="authorize"),
|
||||
url(r'^o/token/$', base.TokenView.as_view(), name="token"),
|
||||
url(r'^', include(router.urls)),
|
||||
url(r'^api-docs$', views.schema_view),
|
||||
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
|
||||
|
||||
Reference in New Issue
Block a user