问题1:
解决
REST_FRAMEWORK = { # 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser',), # 'PAGE_SIZE': 10 'DEFAULT_PERMISSION_CLASSES': [ 'rest_framework.permissions.AllowAny' ] # 'DEFAULT_PERMISSION_CLASSES': [ # 'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly' # ] }