Can make a lock flag that is set on calling the edit view and unset on save. Issue: what if the user doesn't save (i.e. hits cancel or navigates away from the edit page)? Need to make the lock expire after a given time. What if the user is still editing when it expires? Need to notify them and make them reload the edit page? What about their unsaved changes?
Can make a lock flag that is set on calling the edit view and unset on save. Issue: what if the user doesn't save (i.e. hits cancel or navigates away from the edit page)? Need to make the lock expire after a given time. What if the user is still editing when it expires? Need to notify them and make them reload the edit page? What about their unsaved changes?
https://github.com/RobCombs/django-locking https://github.com/saxix/django-concurrency