Skip to content

Commit

Permalink
Merge pull request #644 from jdufresne/south
Browse files Browse the repository at this point in the history
Remove South shims
  • Loading branch information
craigds committed Apr 15, 2018
2 parents bc871e8 + 4d81833 commit 3db442b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
5 changes: 3 additions & 2 deletions docs/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
Upgrade notes
=============

UNRELASED
=========

UNRELEASED
==========

End of life Python 3.3 and Django 1.8 are no longer supported. These versions
of Python and Django no longer receive security patches.
Expand Down
8 changes: 0 additions & 8 deletions mptt/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,3 @@ class TreeManyToManyField(models.ManyToManyField):
def formfield(self, **kwargs):
kwargs.setdefault('form_class', TreeNodeMultipleChoiceField)
return super(TreeManyToManyField, self).formfield(**kwargs)


# South integration
if 'south' in settings.INSTALLED_APPS: # pragma: no cover
from south.modelsinspector import add_introspection_rules
add_introspection_rules([], [r"^mptt\.fields\.TreeForeignKey"])
add_introspection_rules([], [r"^mptt\.fields\.TreeOneToOneField"])
add_introspection_rules([], [r"^mptt\.fields\.TreeManyToManyField"])

0 comments on commit 3db442b

Please sign in to comment.