On Mon, Dec 8, 2014, Rune Kaagaard <[email protected]> wrote:

>I've made a branch that adds optimistic concurrency control to the admin: 
>https://github.com/runekaagaard/django-lock-the-admin/compare/adminlock. It 
>works for the main change object and inlines and has tests. All tests 
>passes with postgres and sqlite.

I like the concept.

I would prefer however to see something like:

    3 items on this page have been updated by another user while you were 
editing them.

    You can:

        * see the other user's changes[link] in a new browser window, and apply 
your changes there, or
        * refresh this pages[link] (Warning! your changes here will be lost!) 
and reapply your changes here

This way the user is invited to compare the differences and to copy their 
changes over, rather than simply lose them.

Daniele

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/20141208125127.743977646%40mail.wservices.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to