diff options
| author | Tom Christie | 2014-01-15 14:43:34 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-01-15 14:43:34 +0000 |
| commit | 39ca11c6626aa08095af2604a8d4b708e493514c (patch) | |
| tree | 0802f9e92456d53b08ef63faf34b47efa70d11b6 /api-guide/settings.html | |
| parent | a84706147678c69fc797af0948940ad0a7d7d785 (diff) | |
| download | django-rest-framework-39ca11c6626aa08095af2604a8d4b708e493514c.tar.bz2 | |
Latest docs build
Diffstat (limited to 'api-guide/settings.html')
| -rw-r--r-- | api-guide/settings.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api-guide/settings.html b/api-guide/settings.html index 5a669f43..95f6d114 100644 --- a/api-guide/settings.html +++ b/api-guide/settings.html @@ -408,6 +408,9 @@ If set to <code>None</code> then generic filtering is disabled.</p> <li><code>exc</code>: The exception.</li> </ul> <p>Default: <code>'rest_framework.views.exception_handler'</code></p> +<h4 id="url_field_name">URL_FIELD_NAME</h4> +<p>A string representing the key that should be used for the URL fields generated by <code>HyperlinkedModelSerializer</code>.</p> +<p>Default: <code>'url'</code></p> <h4 id="format_suffix_kwarg">FORMAT_SUFFIX_KWARG</h4> <p>The name of a parameter in the URL conf that may be used to provide a format suffix.</p> <p>Default: <code>'format'</code></p> |
