Ticket #6055: generic.patch
File generic.patch, 451 bytes (added by , 17 years ago) |
---|
-
generic.py
115 115 return self.rel.to._meta.db_table 116 116 117 117 def m2m_column_name(self): 118 return self. object_id_field_name118 return self.rel.to._meta.get_field(self.object_id_field_name).column 119 119 120 120 def m2m_reverse_name(self): 121 121 return self.object_id_field_name