Thursday, January 3, 2019

Re: Loop over Django objects and Bootstrap cards

I used UploadField so I just have to use
{{ object.fieldname.url }}

and it works.

But my question is : How I can gather all documents according to one publication in one card ?

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/cafbf573-f6ac-4ee7-9d3a-d89f42e18820%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment