From: Paul McNett <[email protected]> To: Vineet Deodhar <[email protected]>; Dabo Users list <[email protected]> Sent: Friday, 12 August 2011, 23:06 Subject: Re: [dabo-users] referred to pycon2010 tut : complex relationship : how to define On 8/12/11 9:25 AM, Vineet Deodhar wrote: > I have already referred the pycon 2010 tutorial before posting my query. > In that, self.DataStructure property is defined. > But I fail to understand how, without using LinkField property, the relations > to 2 parent tables is set in that. What do you mean "without using LinkField"? The example in the tutorial *does* use LinkField (in the RecipesForCategory and CategoriesForRecipe subclasses of Reccat). The parent/child relationship in this example is one of two cases:
Recipes CategoriesForRecipe Categories -or- Categories RecipesForCategory Recipes --Paul ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Just now I found http://trac.dabodev.com/changeset/6626 This is going to be very useful to me for defining M:M relationships. A week ago, I have downloaded dabo from dabodev.com. Would it be all right if If I copy the added code (highlighted in green on the changeset 6626) & paste in my 'dBizObj' & 'dCursorMixin' code? I will test it & give the feedback. Thanks, Vineet --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
