Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit dc375fb0f3b7fbae740e8cfcd791b8bccb8a4e66 1 parent 5735e16
@gdub gdub authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/generic/create_update.py
View
2  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:
Please sign in to comment.
Something went wrong with that request. Please try again.