We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88182c commit ae5e084Copy full SHA for ae5e084
rest_framework_simplejwt/views.py
@@ -28,7 +28,7 @@ def get_serializer_class(self) -> Serializer:
28
try:
29
return import_string(self._serializer_class)
30
except ImportError:
31
- msg = "Could not import serializer '%s'" % self._serializer_class
+ msg = f"Could not import serializer '{self._serializer_class}'"
32
raise ImportError(msg)
33
34
def get_authenticate_header(self, request: Request) -> str:
0 commit comments