Django REST Framework: ‘BasePermissionMetaclass’ object is not iterable
You have mistyped the comma in DEFAULT_PERMISSION_CLASSES value, due to which Django takes it as a string, instead of a tuple. Solution: REST_FRAMEWORK = { … ‘DEFAULT_PERMISSION_CLASSES’: ( ‘rest_framework.permissions.IsAdminUser’, ), … }