              from django.db import connection
              kwargs['connection'] = connection
              warn("%s has been called without providing a connection argument. " %
                  func.__name__, DeprecationWarning,
                  stacklevel=1)
          if updated:
              return func(*args, **kwargs)
          if 'connection' in kwargs:
              del kwargs['connection']
          if 'prepared' in kwargs:
 
</s> remove             DeprecationWarning, stacklevel=2)
 </s> add             DeprecationWarning, stacklevel=3) </s> remove             DeprecationWarning, stacklevel=2)
 </s> add             DeprecationWarning, stacklevel=3) </s> remove                 stacklevel=1)
 </s> add                 stacklevel=2)
                stacklevel=2)
              from django.db import connection
              kwargs['connection'] = connection
              warn("%s has been called without providing a connection argument. " %
                  func.__name__, DeprecationWarning,
                stacklevel=2)
          if updated:
              return func(*args, **kwargs)
          if 'connection' in kwargs:
              del kwargs['connection']
          if 'prepared' in kwargs:
keep keep keep keep replace keep keep keep keep keep
 Change the stacklevel for Field deprecation warnings to correctly point to the source of the problem

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14220 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/db/models/fields/subclassing.py