Exclude the API urls from forced session based authentication
We now have token based authentication support too
This commit is contained in:
@@ -236,6 +236,8 @@ LOGIN_EXEMPT_URLS = (
|
||||
r'^password/reset/confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
|
||||
r'^password/reset/complete/$',
|
||||
r'^password/reset/done/$',
|
||||
|
||||
r'^api/',
|
||||
)
|
||||
# --------- Pagination ----------------
|
||||
PAGINATION_INVALID_PAGE_RAISES_404 = True
|
||||
|
||||
Reference in New Issue
Block a user