Refs #24133 -- Removed legacy formatting syntax in success_url placeholders.

Per deprecation timeline.
This commit is contained in:
Tim Graham 2015-09-02 18:36:09 -04:00
parent b6e6fcf326
commit 6eed9ae747
4 changed files with 6 additions and 46 deletions

View file

@ -160,12 +160,6 @@ ModelFormMixin
example, you could use ``success_url="/polls/{slug}/"`` to
redirect to a URL composed out of the ``slug`` field on a model.
.. versionchanged:: 1.8
Support for the new brace-based Python formatting syntax has been
added. The old ``%(slug)s`` placeholder syntax support has been
deprecated and will be removed in Django 1.10.
.. method:: get_form_class()
Retrieve the form class to instantiate. If
@ -259,12 +253,6 @@ DeletionMixin
could use ``success_url="/parent/{parent_id}/"`` to redirect to a URL
composed out of the ``parent_id`` field on a model.
.. versionchanged:: 1.8
Support for the new brace-based Python formatting syntax has been
added. The old ``%(slug)s`` placeholder syntax support has been
deprecated and will be removed in Django 1.10.
.. method:: get_success_url()
Returns the url to redirect to when the nominated object has been