Re: Refreshing dirty objects

2007-07-03 Thread Lars
Hi Malcolm, On Jul 4, 3:39 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > In the general case, this would be very hard to solve, because you could > have objects in a different process space that also need to be notified. Ah, I hadn't thought of that. > If you are satisfied with only updat

Re: Refreshing dirty objects

2007-07-03 Thread Malcolm Tredinnick
On Wed, 2007-07-04 at 05:29 +, Lars wrote: > Hello! > > I'm using the "nested set" abstraction to store some tree data in a > Django model. So the model class looks like [...] > This all works fine, but, in this abstraction, an insert into the tree > updates everything to the "right" of it. T

Refreshing dirty objects

2007-07-03 Thread Lars
Hello! I'm using the "nested set" abstraction to store some tree data in a Django model. So the model class looks like class TreeNode(models.Model): value = models.CharField(maxlength=10) leftVisit = models.IntegerField(primary_key=True) rightVisit = models.IntegerField(db_index=True