Changeset 8215 for django/branches/gis/django/views
- Timestamp:
- 08/05/08 12:15:33 (4 months ago)
- Files:
-
- django/branches/gis (modified) (1 prop)
- django/branches/gis/django/views/debug.py (modified) (1 diff)
- django/branches/gis/django/views/generic/create_update.py (modified) (1 diff)
- django/branches/gis/django/views/generic/simple.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/gis
- Property svnmerge-integrated changed from /django/trunk:1-7978 to /django/trunk:1-8214
django/branches/gis/django/views/debug.py
r7979 r8215 146 146 'name': origin.name, 147 147 } 148 if hasattr(self.exc_value, 'exc_info') and self.exc_value.exc_info:149 exc_type, exc_value, tb = self.exc_value.exc_info150 148 151 149 def _get_lines_from_file(self, filename, lineno, context_lines, loader=None, module_name=None): django/branches/gis/django/views/generic/create_update.py
r7979 r8215 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 " 'follow' argument is no longer used. Please update your code"21 " to not use the 'follow' argument.")22 warning .warn(msg, DeprecationWarning, stacklevel=3)20 " 'follow' argument is no longer used. Please update your code" 21 " to not use the 'follow' argument.") 22 warnings.warn(msg, DeprecationWarning, stacklevel=3) 23 23 24 24 def apply_extra_context(extra_context, context): django/branches/gis/django/views/generic/simple.py
r6394 r8215 1 from django.shortcuts import render_to_response2 1 from django.template import loader, RequestContext 3 2 from django.http import HttpResponse, HttpResponsePermanentRedirect, HttpResponseGone
