Re: Simultaneous edits

2008-02-01 Thread Michael Hipp
Filip, Thanks for your very informative explanations and ideas. I will be studying it closely. Thanks, Michael Filip Wasilewski wrote: > Hi Michael, > > On Jan 30, 6:25 pm, Michael Hipp <[EMAIL PROTECTED]> wrote: >> James Bennett wrote: >>> On Jan 30, 2008 9:18 AM, Michael Hipp <[EMAIL PROTEC

Re: Simultaneous edits

2008-02-01 Thread Filip Wasilewski
Hi Michael, On Jan 30, 6:25 pm, Michael Hipp <[EMAIL PROTECTED]> wrote: > James Bennett wrote: > > On Jan 30, 2008 9:18 AM, Michael Hipp <[EMAIL PROTECTED]> wrote: > >> Does Django have any built-in way to handle or prevent simultaneous, > >> incompatible edits to a database record? > > > No, tha

Re: Simultaneous edits

2008-01-31 Thread Michael Hipp
Thomas Guettler wrote: > Am Mittwoch, 30. Januar 2008 16:18 schrieb Michael Hipp: >> Does Django have any built-in way to handle or prevent simultaneous, >> incompatible edits to a database record? > > > Some days ago there was a thread about optimistic locking: > I wrote an second answer some m

Re: Simultaneous edits

2008-01-31 Thread Thomas Guettler
Am Mittwoch, 30. Januar 2008 16:18 schrieb Michael Hipp: > Does Django have any built-in way to handle or prevent simultaneous, > incompatible edits to a database record? Some days ago there was a thread about optimistic locking: I wrote an second answer some minutes ago. http://groups.google.c

Re: Simultaneous edits

2008-01-30 Thread Tane Piper
I've seen this in some Wiki code before, and surprisingly Joomla! Add a checked_out flag, which is a boolean field in the table. When a user opens the entry, you could possibly use a post_view signal to set the object as checked_out, so when someone else opens it, it tells the user that someone

Re: Simultaneous edits

2008-01-30 Thread Michael Hipp
James Bennett wrote: > On Jan 30, 2008 9:18 AM, Michael Hipp <[EMAIL PROTECTED]> wrote: >> Does Django have any built-in way to handle or prevent simultaneous, >> incompatible edits to a database record? > > No, that's what your database's concurrency handling is for. Ok, I probably didn't expla

Re: Simultaneous edits

2008-01-30 Thread James Bennett
On Jan 30, 2008 9:18 AM, Michael Hipp <[EMAIL PROTECTED]> wrote: > Does Django have any built-in way to handle or prevent simultaneous, > incompatible edits to a database record? No, that's what your database's concurrency handling is for. -- "Bureaucrat Conrad, you are technically correct --