Re: Preventing race conditions when submitting forms

2014-11-26 Thread Paul Johnston
Hi, Thanks for the warning on django-concurrency. While it seems to have the right features for me, I hadn't looked at its internals. I was thinking about the UI for conflicts and I wonder if I should treat these as form validation errors. If we have the original data (D), the other change set

Re: Preventing race conditions when submitting forms

2014-11-25 Thread Paul Johnston
a lot of work to do something better. Paul On Tuesday, November 25, 2014 6:59:15 PM UTC, Tim Chase wrote: > > On 2014-11-25 07:57, Paul Johnston wrote: > > Consider an e-commerce site, where Alice and Bob are both editing > > the product listings. Alice is improving descript

Preventing race conditions when submitting forms

2014-11-25 Thread Paul Johnston
Hi, Consider an e-commerce site, where Alice and Bob are both editing the product listings. Alice is improving descriptions, while Bob is updating prices. They start editing the Acme Wonder Widget at the same time. Bob finishes first and saves the product with the new price. Alice takes a bit

Complex Form Widgets

2009-01-28 Thread Paul Johnston
Hi, Is it possible to use more complex form widgets than the documentation mentions? For example, with ToscaWidgets, it's possible to use components like popup calendars and rich text editors in forms (at least vaguely possible - if you can figure it out with the zero docs :) Is this possible wit