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 466426e commit f7d74eaCopy full SHA for f7d74ea
rest_framework/response.py
@@ -49,7 +49,7 @@ def __init__(
49
self.exception = exception
50
self.content_type = content_type
51
if reason:
52
- self._reason_phrase = f"{self.status_text} ({reason})"
+ self.reason_phrase = f"{self.status_text} ({reason})"
53
54
if headers:
55
for name, value in headers.items():
0 commit comments