Hi tom,

There are no reason why your code should work.
>>> shrubentry = shrub(uid_string_id = rootentry.uid_string)
>>> treeentry = tree(uid_string = rootentry.uid_string) 
I hardly see why you are using uid_string_id on the first while using 
uid_string (without the _id) on the second.
If you remove the _id then you'll have to pass a rootentry instead of a string.
So this should be:

>>> treeentry = tree(uid_string_id = rootentry.uid_string) 

Regards,
Xavier.

Le 27 sept. 2010 à 18:21, t...@eyesonic.net a écrit :

> Today, I stumbled over an at first sight strange behaviour using
> models (db). It looks like a bug. I posted the code on stackoverflow:
> 
> http://stackoverflow.com/questions/3805752/possible-bug-in-django-models
> 
> greetings,
> tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to