Skip to content

Commit

Permalink
remove Version.admin.locked monkeypatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
FreemanPancake committed Aug 14, 2024
1 parent e12fa57 commit 6d9d4eb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 79 deletions.
6 changes: 0 additions & 6 deletions djangocms_version_locking/cms_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ def add_alias_version_lock(obj, field):


class VersionLockingCMSExtension(CMSAppExtension):
def __init__(self):
# The monkey patch is here to be sure that at module load time the Version class
# is registered and can be overriden without requiring a strict load order
# in the INSTALLED_APPS setting in a projects settings.py. This is why this patch
# Isn't loaded from: VersionLockingConfig.ready
from .monkeypatch import admin as monkeypatch_admin # noqa: F401

def configure_app(self, cms_config):
pass
Expand Down
22 changes: 0 additions & 22 deletions djangocms_version_locking/monkeypatch/admin.py

This file was deleted.

51 changes: 0 additions & 51 deletions tests/test_admin_monkeypatch.py

This file was deleted.

0 comments on commit 6d9d4eb

Please sign in to comment.