Hi.
I want to display images for news. Images class is a seperate model.
In generic view (index) to display news and images I use 2 "for" loops which work.
In "single" view I use get_object_or_404 which changes a bit the template - it does not require the loops to display the text.
If I understand it correctly I can't import data from other models for certain model without proper loop?
How shoud I modify the "single" view and "single" template to make it display images from images class?
http://pastebin.com/k6uzUktq