In my project i have news, every one can have n pic galleries and every gallery can have n pics (every model are in differents apps but that its not the problem) (in the view you can see that i regroup all the pics of galleries related to an article in a single object but this is only for that template, it just part of the requeriments, in other view need have all galleries an his pics, etc.)
When try to pass an object to the template need to every pic must to have related with his news i onli figure out with list it's, for me, not quiet simple iterate the result of the view in a template... are a better aproach here?, a pythonic aproach maybe? I put the relevant piece of code here http://linkode.org/IClFZv7NubqSt6u99zDMV2 Saludos Cordiales, -- Rafael E. Ferrero -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJJc_8Xn3x2GtSZjic3118dLnwYbEax3wP1vSK88Lz_OptokNA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.