On Mar 29, 11:40 pm, ameriblog <[EMAIL PROTECTED]> wrote:
> i have a site that lists candidates for mayor, on the page i have
> biographical information, also i want to include recent news for that
> candidate. i have news setup as a class in the models.py that has a
> ManyToMany relationship with the candidates (since plenty of news
> stories cover multiple candidates).
>
> i know how to use and setup templatetags and use them, what i am
> unsure of is how to use them to get the news item for that candidate.
>
> so for example if we have candidate John Doe we have his page
> atwww.mysite.com/candidates/john-doe/that page would have his
> biographical information, on the right column i'd like to have the 10
> most recent news stories that are related to John Doe...
Weird. First you post about sports ratings. And now you are working
on an election system I presume. Same here. I'm working on a site
for an upcoming election this May in my city. Get up with me. Maybe
we can compare notes on both projects.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---