mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #21396: Document backwards-incompatible change in RedirectView.get_redirect_url.
Thanks to Tim for the review.
This commit is contained in:
@@ -913,6 +913,12 @@ Miscellaneous
|
||||
been removed. Use ``socket.error`` provided by the standard library instead.
|
||||
This change was also released in Django 1.5.5.
|
||||
|
||||
* The signature of :meth:`django.views.generic.base.RedirectView.get_redirect_url`
|
||||
has changed and now accepts positional arguments as well (``*args, **kwargs``).
|
||||
Any unnamed captured group will now be passed to ``get_redirect_url()``
|
||||
which may result in a ``TypeError`` if you don't update the signature of your
|
||||
custom method.
|
||||
|
||||
Features deprecated in 1.6
|
||||
==========================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user