From 462edd22e5577ff9ee6477f7572b571700d1a2aa Mon Sep 17 00:00:00 2001 From: Alasdair Nicol Date: Fri, 21 Feb 2014 14:07:54 +0000 Subject: [PATCH] Fixed #22112 -- Added RedirectView.pattern_name to CBV flattened index Also moved accessor method get_redirect_url next to its attribute url for consistency with the other views. Thanks nikunj.sg for the report --- docs/ref/class-based-views/flattened-index.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/class-based-views/flattened-index.txt b/docs/ref/class-based-views/flattened-index.txt index 272c852181..be14a34a7c 100644 --- a/docs/ref/class-based-views/flattened-index.txt +++ b/docs/ref/class-based-views/flattened-index.txt @@ -54,9 +54,10 @@ RedirectView **Attributes** (with optional accessor): * :attr:`~django.views.generic.base.View.http_method_names` +* :attr:`~django.views.generic.base.RedirectView.pattern_name` * :attr:`~django.views.generic.base.RedirectView.permanent` * :attr:`~django.views.generic.base.RedirectView.query_string` -* :attr:`~django.views.generic.base.RedirectView.url` +* :attr:`~django.views.generic.base.RedirectView.url` [:meth:`~django.views.generic.base.RedirectView.get_redirect_url`] **Methods** @@ -64,7 +65,6 @@ RedirectView * ``delete()`` * :meth:`~django.views.generic.base.View.dispatch` * ``get()`` -* :meth:`~django.views.generic.base.RedirectView.get_redirect_url` * ``head()`` * :meth:`~django.views.generic.base.View.http_method_not_allowed` * ``options()``