Skip to content

Commit

Permalink
Set SafeDeleteMixin as abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
Gagaro committed Sep 18, 2017
1 parent b0bbe02 commit da024a0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGES
Expand Up @@ -2,6 +2,14 @@
CHANGELOG
=========

0.4.3 (UNRELEASED)
==================

** Bugfixes **

- Set SafeDeleteMixin as abstract


0.4.2
=====

Expand Down
2 changes: 1 addition & 1 deletion safedelete/__init__.py
Expand Up @@ -15,5 +15,5 @@
'DELETED_VISIBLE_BY_FIELD',
]

__version__ = "0.4.2"
__version__ = "0.4.3dev"
default_app_config = 'safedelete.apps.SafeDeleteConfig'
3 changes: 3 additions & 0 deletions safedelete/models.py
Expand Up @@ -208,6 +208,9 @@ class SafeDeleteMixin(SafeDeleteModel):
Use :class:`SafeDeleteModel` instead.
"""

class Meta:
abstract = True

def __init__(self, *args, **kwargs):
warnings.warn('The SafeDeleteMixin class was renamed SafeDeleteModel',
DeprecationWarning)
Expand Down

0 comments on commit da024a0

Please sign in to comment.