Added a versionadded directive to new redirect shortcut (refs #10194).

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2009-03-21 15:26:56 +00:00
parent 231a7e0419
commit e389234201
1 changed files with 18 additions and 16 deletions

View File

@ -84,6 +84,8 @@ This example is equivalent to::
.. function:: redirect(to[, permanent=False], *args, **kwargs) .. function:: redirect(to[, permanent=False], *args, **kwargs)
.. versionadded:: 1.1
Returns an HttpResponseRedirect to the apropriate URL for the arguments Returns an HttpResponseRedirect to the apropriate URL for the arguments
passed. passed.