Commit 2c5eee9f authored by Baptiste Mispelon's avatar Baptiste Mispelon
Browse files

[1.7.x] Removed unnecessary code in ManyToManyField.deconstruct()

Backport of 44169a00 from master.
parent 27b7783f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2092,8 +2092,6 @@ class ManyToManyField(RelatedField):
            kwargs['db_table'] = self.db_table
        if self.rel.db_constraint is not True:
            kwargs['db_constraint'] = self.rel.db_constraint
        if "help_text" in kwargs:
            del kwargs['help_text']
        # Rel needs more work.
        if isinstance(self.rel.to, six.string_types):
            kwargs['to'] = self.rel.to