gDog schrieb: > Hello, > I am working through the turbogears bookmarker project in the book by > Ramm, Dangoor, and Sayfan. I have it up and working and thought that > I would play around a little bit to see if I understand what's going > on. > > I changed the names of the fields in both the Categories and Bookmark > classes, changing categoryName to name and bookmarkName to name. I > felt that using bookmark,bookmarkName in the templates was a bit > bulky, feeling that bookmark.name would be clearer. The problem is, > when I call the list routine I get and error saying "multiple values > for keyword argument 'name'". > > Is this, as I suspect, because I have the same name in two different > classes (that is, a 'name' field in both classes)? Does this mean > that all my field names in all of my classes must be unique? Or is > there a way to get around this (or am I incorrect in my analysis)?
No, it has nothing to do with that. It's perfectly legal to have several model objects with a common set of property names. It must be something else. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

