X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b17486a9270334855c3b908b8250e3a020803875..ca8f4e8fef80cb603117ed579da8554f503698e5:/src/wolnelektury/settings/contrib.py diff --git a/src/wolnelektury/settings/contrib.py b/src/wolnelektury/settings/contrib.py index d03479f82..aaef8b2ce 100644 --- a/src/wolnelektury/settings/contrib.py +++ b/src/wolnelektury/settings/contrib.py @@ -28,6 +28,7 @@ REST_FRAMEWORK = { 'api.renderers.LegacyXMLRenderer', ), 'DEFAULT_AUTHENTICATION_CLASSES': ( + 'api.drf_auth.WLTokenAuthentication', 'api.drf_auth.PistonOAuthAuthentication', 'rest_framework.authentication.SessionAuthentication', )