On Tue, 2009-03-10 at 21:10 -0700, nixon66 wrote: > I'm trying to filter information for a page by year and can't seem to > get the view to work correctly. The view below should get the list of > counties and years so that I can show detailed information for vendors > by year. The url seems to work but I get a page without vendor data. > Could anyone point me to what I might be doing wrong here?
So what does each line of the view function return? Print out some information to see what comes back. It's only five lines long. Are the parameters passed into the view what you expect (again print them out and see)? Experiment with the same queries at an interactive prompt and see if it returns you what you are expecting. Malcolm --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---