On 13 déc, 19:49, refreegrata <refreegr...@yahoo.com> wrote: > thanks for the answer, but the solution don't show anything. I must be > doing something wrong. > if now I have > ----------------------- > class Myline(models.mode): > fk_myDoc = models.ForeignKey(MyDoc, related_name="wwww") > ----------------------- > > How Can I use {% for line doc.XXXXX_set.all %} in the template? > I'm sorry for this asking, but I can't find the _set.all option in the > Django documentation.
http://docs.djangoproject.com/en/dev/topics/db/queries/#backwards-related-objects -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.