Remove patterns which will be deprecated in 1.10
This commit is contained in:
parent
c4bbb98791
commit
be5ffde03b
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ from django.views.decorators.csrf import csrf_exempt
|
|||
from oidc_provider.views import *
|
||||
|
||||
|
||||
urlpatterns = patterns('',
|
||||
urlpatterns = [
|
||||
|
||||
url(r'^authorize/?$', AuthorizeView.as_view(), name='authorize'),
|
||||
url(r'^token/?$', csrf_exempt(TokenView.as_view()), name='token'),
|
||||
|
@ -13,4 +13,4 @@ urlpatterns = patterns('',
|
|||
url(r'^\.well-known/openid-configuration/?$', ProviderInfoView.as_view(), name='provider_info'),
|
||||
url(r'^jwks/?$', JwksView.as_view(), name='jwks'),
|
||||
|
||||
)
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue