Changeset 8105
- Timestamp:
- 07/27/08 12:24:35 (4 months ago)
- Files:
-
- django/trunk/django/views/generic/create_update.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/views/generic/create_update.py
r7971 r8105 16 16 """ 17 17 if follow is not None: 18 import warning 18 import warnings 19 19 msg = ("Generic views have been changed to use newforms, and the" 20 20 "'follow' argument is no longer used. Please update your code" 21 21 "to not use the 'follow' argument.") 22 warning .warn(msg, DeprecationWarning, stacklevel=3)22 warnings.warn(msg, DeprecationWarning, stacklevel=3) 23 23 24 24 def apply_extra_context(extra_context, context):
