      )
      if not updated:
          warn("A Field class whose %s method hasn't been updated to take "
              "`connection` and `prepared` arguments." % func.__name__,
              DeprecationWarning, stacklevel=2)
  
      def inner(*args, **kwargs):
          if 'connection' not in kwargs:
              from django.db import connection
              kwargs['connection'] = connection
 
</s> remove             DeprecationWarning, stacklevel=2)
 </s> add             DeprecationWarning, stacklevel=3) </s> remove                 stacklevel=1)
 </s> add                 stacklevel=2) </s> remove                 stacklevel=1)
 </s> add                 stacklevel=2)
            DeprecationWarning, stacklevel=3)
      )
      if not updated:
          warn("A Field class whose %s method hasn't been updated to take "
              "`connection` and `prepared` arguments." % func.__name__,
            DeprecationWarning, stacklevel=3)
  
      def inner(*args, **kwargs):
          if 'connection' not in kwargs:
              from django.db import connection
              kwargs['connection'] = connection
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