On 7/20/06, markguy <[EMAIL PROTECTED]> wrote: > > Actually, that leaves out the order information from LabelIngredients. > I had tried to do this with select_related(), but I couldn't get it to > follow the ForeignKey into Ingredients. > > Further wizardy (and explanation) would be greatly appreciated!
You could avoid wizardry by just getting the LabelIngredients sorted by order, and in the template display the labelingredient.ingredient.name ? I tend to resort to adding properties for this kind of thing so I can understand what's going on :) -- Derek --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---