Skip to content

Commit b1f58b0

Browse files
author
Jens Kadenbach
committed
Use simple permission for API
1 parent 9528782 commit b1f58b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypo/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
'rest_framework.serializers.HyperlinkedModelSerializer',
201201

202202
'DEFAULT_PERMISSION_CLASSES': (
203-
'rest_framework.permissions.DjangoModelPermissions',
203+
'rest_framework.permissions.IsAuthenticated',
204204
),
205205
'DEFAULT_AUTHENTICATION_CLASSES': (
206206
'rest_framework.authentication.BasicAuthentication',

0 commit comments

Comments
 (0)