Permalink
Browse files

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
  • Loading branch information...
alasdairnicol authored and bmispelon committed Feb 21, 2014
1 parent 476abc7 commit 462edd22e5577ff9ee6477f7572b571700d1a2aa
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/class-based-views/flattened-index.txt
@@ -54,17 +54,17 @@ 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**
* :meth:`~django.views.generic.base.View.as_view`
* ``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()``

0 comments on commit 462edd2

Please sign in to comment.