Skip to content

Commit

Permalink
[3.1.x] Fixed cross-link in CBV topic documentation.
Browse files Browse the repository at this point in the history
Backport of 7072bff from master
  • Loading branch information
cpina authored and carltongibson committed Jan 14, 2021
1 parent fdbcbc3 commit ed616ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/topics/class-based-views/generic-display.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit ed616ff

Please sign in to comment.