From dc375fb0f3b7fbae740e8cfcd791b8bccb8a4e66 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Fri, 18 Jul 2008 23:52:18 +0000 Subject: [PATCH] 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 --- django/views/generic/create_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/views/generic/create_update.py b/django/views/generic/create_update.py index 17ba2de766..a51661c4a7 100644 --- a/django/views/generic/create_update.py +++ b/django/views/generic/create_update.py @@ -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: