Add basic login.
[wolnelektury.git] / src / wolnelektury / settings / contrib.py
index d03479f..aaef8b2 100644 (file)
@@ -28,6 +28,7 @@ REST_FRAMEWORK = {
         'api.renderers.LegacyXMLRenderer',
     ),
     'DEFAULT_AUTHENTICATION_CLASSES': (
+        'api.drf_auth.WLTokenAuthentication',
         'api.drf_auth.PistonOAuthAuthentication',
         'rest_framework.authentication.SessionAuthentication',
     )