mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 04:20:12 +03:00
Merge cca4faebe2
into 161270da99
This commit is contained in:
commit
e49acb86b4
|
@ -418,3 +418,9 @@ class Request(object):
|
||||||
Proxy other attributes to the underlying HttpRequest object.
|
Proxy other attributes to the underlying HttpRequest object.
|
||||||
"""
|
"""
|
||||||
return getattr(self._request, attr)
|
return getattr(self._request, attr)
|
||||||
|
|
||||||
|
def __setattr__(self, attr, value):
|
||||||
|
"""
|
||||||
|
Proxy other attributes to the underlying HttpRequest object.
|
||||||
|
"""
|
||||||
|
return setattr(self._request, attr, value)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user