diff options
| author | Sean C. Farley | 2012-06-26 19:27:57 -0400 |
|---|---|---|
| committer | Sean C. Farley | 2012-06-26 19:27:57 -0400 |
| commit | 1b49c5e3e5c1b33d8d4c2dcaaaf6cb4dcbffa814 (patch) | |
| tree | 40454f839a72af373b930ee9a00950e33d359c10 /djangorestframework/mixins.py | |
| parent | 9dbaac3182aa8e5c322e25513cd2e3d2bf0af1e2 (diff) | |
| download | django-rest-framework-1b49c5e3e5c1b33d8d4c2dcaaaf6cb4dcbffa814.tar.bz2 | |
Pass request to related serializers
Related serializers may need access to the request to properly serialize
a child resource. For example, reverse() in djangorestframework.reverse
uses request if available to return an absolute URL. While the parent
resource has access to the request to generate the absolute URL, the
child resource does not.
Diffstat (limited to 'djangorestframework/mixins.py')
0 files changed, 0 insertions, 0 deletions
