Skip to content

Locks detail pages in the Django Admin while another user is currently editing

License

Notifications You must be signed in to change notification settings

jonasundderwolf/django-admin-locking

Repository files navigation

django-admin-locking

https://img.shields.io/pypi/v/django-admin-locking https://img.shields.io/pypi/pyversions/django-admin-locking PyPI - Django Version

Never lose work to another editor again!

Add admin_locking to INSTALLED_APPS and inherit from admin_locking.AdminLockingMixin.

How to add to all ModelAdmins?

Use a common parent: instead of inheriting from admin.ModelAdmin, create a base object to inherit from.