From 7072bff1fd13ea706b2dc0ca10feef755872eb68 Mon Sep 17 00:00:00 2001 From: Carles Pina Estany Date: Thu, 14 Jan 2021 10:17:59 +0000 Subject: [PATCH] Fixed cross-link in CBV topic documentation. --- docs/topics/class-based-views/generic-display.txt | 6 +++--- 1 file 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.