I am trying to *get all article objects that are part of a section* in an 
edition that is in an issue. I am stumped, even after looking at the 
documentation 
<https://docs.djangoproject.com/en/dev/topics/db/models/#extra-fields-on-many-to-many-relationships>
 
for django 2.x

I can get all editions with all of their sections that are part of an 
issue, but I cannot figure out how to get articles that are related to a 
section per edition.

Sample code is here:
https://codeshare.io/5vXbAD

Please note I have a many to many pass through table that has extra fields 
I am trying to get.  Specifically the "order" field.
Here is a screenshot for proof of concept
https://pasteboard.co/H8N2zTt.png

If you are able to get all articles returned from the loop in the code 
linked above, I will be eternally grateful :)

results would be passed to a template.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/1ba9dc4e-3eab-4d1e-b552-1102e8e7791a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to