Help with custom model method for query
I have this views.py and models.py:
On the view what I want to do is display a list of all the feed types
(News, Sports, etc general categories), then then below each of those
feed type headings display the FeedItems for each feed for that city.
Prior to adding the City model it was pretty easy, I was able to just
do this in my template:
Maybe it's because it's late and I'm out of coffee, but this is
totally stumping me on how to do this best. Any help would be greatly
appreciated!
--
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