You should fix the typo in RegisterView.
RegisterView
permissions_classes = [AllowAny] # ❌ Incorrect permission_classes = [AllowAny] # ✅ Correct