mirror of
https://github.com/django/django.git
synced 2024-11-30 23:20:50 +01:00
Corrected spacing in warning message.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
020f965087
commit
4774c8d673
@ -17,8 +17,8 @@ def deprecate_follow(follow):
|
|||||||
if follow is not None:
|
if follow is not None:
|
||||||
import warnings
|
import warnings
|
||||||
msg = ("Generic views have been changed to use newforms, and the"
|
msg = ("Generic views have been changed to use newforms, and the"
|
||||||
"'follow' argument is no longer used. Please update your code"
|
" 'follow' argument is no longer used. Please update your code"
|
||||||
"to not use the 'follow' argument.")
|
" to not use the 'follow' argument.")
|
||||||
warnings.warn(msg, DeprecationWarning, stacklevel=3)
|
warnings.warn(msg, DeprecationWarning, stacklevel=3)
|
||||||
|
|
||||||
def apply_extra_context(extra_context, context):
|
def apply_extra_context(extra_context, context):
|
||||||
|
Loading…
Reference in New Issue
Block a user