aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/settings.md
diff options
context:
space:
mode:
authorTom Christie2014-01-14 20:34:33 +0000
committerTom Christie2014-01-14 20:34:33 +0000
commitd20c49da4ae6f569d3acc243169e3c13c89a95fe (patch)
tree6dab95c18f0e57b90933d365710b941e8765bc0e /docs/api-guide/settings.md
parentcbd214699dd8f02d148d35bc52f96e85092a110a (diff)
downloaddjango-rest-framework-d20c49da4ae6f569d3acc243169e3c13c89a95fe.tar.bz2
More HyperlinkedModelSerializer docs
Diffstat (limited to 'docs/api-guide/settings.md')
-rw-r--r--docs/api-guide/settings.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/api-guide/settings.md b/docs/api-guide/settings.md
index 13f96f9a..5aee52aa 100644
--- a/docs/api-guide/settings.md
+++ b/docs/api-guide/settings.md
@@ -353,6 +353,12 @@ This should be a function with the following signature:
Default: `'rest_framework.views.exception_handler'`
+#### URL_FIELD_NAME
+
+A string representing the key that should be used for the URL fields generated by `HyperlinkedModelSerializer`.
+
+Default: `'url'`
+
#### FORMAT_SUFFIX_KWARG
The name of a parameter in the URL conf that may be used to provide a format suffix.