aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/mixins.py
diff options
context:
space:
mode:
authorSean C. Farley2012-06-26 19:27:57 -0400
committerSean C. Farley2012-06-26 19:27:57 -0400
commit1b49c5e3e5c1b33d8d4c2dcaaaf6cb4dcbffa814 (patch)
tree40454f839a72af373b930ee9a00950e33d359c10 /djangorestframework/mixins.py
parent9dbaac3182aa8e5c322e25513cd2e3d2bf0af1e2 (diff)
downloaddjango-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