Thanks i got that already solved.

2008/9/11 Alex K <[EMAIL PROTECTED]>

>
> Hello,
> What do you mean by "real value"? You've got 2 perfect Category
> objects associatied with your Item,
> <mosst.model.page.Category object at 0x020F67B0> - is just a string
> stamp of the object when converted to a string.
>
> you may want something like this: item.categories[0].name to access
> the name of a particular category.
>
> On Sep 10, 2:39 pm, Scripper <[EMAIL PROTECTED]> wrote:
> > I 've created a model with two tables in which the many to many
> > relationship was implemented. "Item" and "Category". I appended two
> > categorys to one item for example. But as i wanted to show the item's
> > attribute "category" content in the view i got instead some datas
> > below:
> > """<mosst.model.page.Category object at 0x020F67B0>
> > <mosst.model.page.Category object at 0x020F6810>
> > """
> > That's to say the category instead of the real value was set up with
> > the content above.
> > I don't know why. The mapper was successful setup, the number of the
> > append categories also been defined correctly, everything fine except
> > this error! Can anybody give me the direction?
> >
>


-- 
Best regards from Berlin
Mit freundlichen Grüßen aus Berlin
Lewis Scripper

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to