Exclude the API urls from forced session based authentication

We now have token based authentication support too
This commit is contained in:
Roberto Rosario
2014-07-24 11:38:20 -04:00
parent 3c4ddecf80
commit a712f2e786

View File

@@ -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