Re: Paginator and foreign key
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.
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home