mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
Remove South compatibility codes
This commit is contained in:
parent
b5edd50f02
commit
7771075dc0
1 changed files with 0 additions and 12 deletions
|
|
@ -456,15 +456,3 @@ class AuditlogHistoryField(GenericRelation):
|
|||
# method. However, because we don't want to delete these related
|
||||
# objects, we simply return an empty list.
|
||||
return []
|
||||
|
||||
|
||||
# South compatibility for AuditlogHistoryField
|
||||
try:
|
||||
from south.modelsinspector import add_introspection_rules
|
||||
|
||||
add_introspection_rules([], [r"^auditlog\.models\.AuditlogHistoryField"])
|
||||
raise DeprecationWarning(
|
||||
"South support will be dropped in django-auditlog 0.4.0 or later."
|
||||
)
|
||||
except ImportError:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue