mirror of
https://github.com/django/django.git
synced 2024-11-30 23:20:50 +01:00
Refs #3639 -- Minor docstring correction, it's a function not a method.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5735e161a2
commit
dc375fb0f3
@ -68,7 +68,7 @@ def redirect(post_save_redirect, obj):
|
||||
by ``get_absolute_url()``. If ``obj`` has no ``get_absolute_url`` method,
|
||||
then raise ImproperlyConfigured.
|
||||
|
||||
This method is meant to handle the post_save_redirect parameter to the
|
||||
This function is meant to handle the post_save_redirect parameter to the
|
||||
``create_object`` and ``update_object`` views.
|
||||
"""
|
||||
if post_save_redirect:
|
||||
|
Loading…
Reference in New Issue
Block a user