 Index: django/db/models/manager.py
 ===================================================================
---- django/db/models/manager.py	(revision 13362)
+--- django/db/models/manager.py	(revision 13444)
 +++ django/db/models/manager.py	(working copy)
 @@ -48,6 +48,9 @@
          super(Manager, self).__init__()

+        manager.related_model_instance = instance
+        manager.related_model_attname = self.field.attname
         return manager

     def __set__(self, instance, value):

+        manager.related_model_instance = instance
+        manager.related_model_attname = rel_field.rel.related_name
         return manager
 
 def create_many_related_manager(superclass, through=False):
@@ -566,7 +573,9 @@
             source_col_name=qn(self.related.field.m2m_reverse_name()),
             target_col_name=qn(self.related.field.m2m_column_name())
         )
