fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add basic login.
[wolnelektury.git]
/
src
/
wolnelektury
/
settings
/
contrib.py
diff --git
a/src/wolnelektury/settings/contrib.py
b/src/wolnelektury/settings/contrib.py
index
d03479f
..
aaef8b2
100644
(file)
--- 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',
)