On Wednesday 01 February 2006 12:14, Julio Nobrega wrote:
>   I added an article at the Wiki about Modified Preorder Tree
> Traversal, a way to store parent/children relationship.

You use 'lft' and 'rght' instead of 'left' and 'right' - I don't think 
there is any need to do this.  You can always quote them, and Django 
will do that automatically for you.  And regardless, you can use 
'db_column' so that in your Python code they are 'left' and 'right' 
even if they are different in the DB - see
http://www.djangoproject.com/documentation/model_api/

Regards,

Luke

-- 
I never hated a man enough to give him his diamonds back. (Zsa Zsa 
Gabor)

Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/

Reply via email to