Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
rpteam
Revue de Press
Commits
0dc74f89
Commit
0dc74f89
authored
Mar 13, 2019
by
Okhin
Browse files
We want to authorized non authenticated read only access to the API
parent
40dd8e71
Pipeline
#2491
passed with stages
in 3 minutes
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
project/settings/api.py
View file @
0dc74f89
...
...
@@ -8,7 +8,7 @@ REST_FRAMEWORK = {
"PAGE_SIZE"
:
20
,
"DEFAULT_PERMISSION_CLASSES"
:
(
"rest_framework.permissions.IsAuthenticated"
,
"rest_framework.permissions.IsAuthenticated
OrReadOnly
"
,
),
'DEFAULT_AUTHENTICATION_CLASSES'
:
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment