diff options
| author | Carles Pina Estany <carles@pina.cat> | 2021-01-14 10:17:59 +0000 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2021-01-14 11:19:29 +0100 |
| commit | ed616ffe9482ae3eb566c717ccf0385148fe68f9 (patch) | |
| tree | fc473800f283db565e5e5331625d042036f5d3e5 | |
| parent | fdbcbc30812b6e6eb6138cce054890031309524a (diff) | |
[3.1.x] Fixed cross-link in CBV topic documentation.
Backport of 7072bff1fd13ea706b2dc0ca10feef755872eb68 from master
| -rw-r--r-- | docs/topics/class-based-views/generic-display.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/class-based-views/generic-display.txt b/docs/topics/class-based-views/generic-display.txt index 66590849a0..68155f07db 100644 --- a/docs/topics/class-based-views/generic-display.txt +++ b/docs/topics/class-based-views/generic-display.txt @@ -427,6 +427,6 @@ object -- so we override it and wrap the call:: name that ``DetailView`` uses to find the value of the primary key used to filter the queryset. - If you want to call the group something else, you can set ``pk_url_kwarg`` - on the view. More details can be found in the reference for - :class:`~django.views.generic.detail.DetailView` + If you want to call the group something else, you can set + :attr:`~django.views.generic.detail.SingleObjectMixin.pk_url_kwarg` + on the view. |
