Re: Django newbie: lost in custom managers

2007-04-24 Thread Tim Chase
> cursor.execute(""" > SELECT sports_players.city_id, sports_players.team_id, > count(sports_players.team_id) FROM sports_players, > sports_mastercitylist > WHERE sports_players.city_id=sports_mastercitylist.id > AND sports_mastercitylist.cityslug = %s >

Re: Django newbie: lost in custom managers

2007-04-24 Thread Bryan L. Fordham
[EMAIL PROTECTED] wrote: > cursor.execute(""" > SELECT sports_players.city_id, sports_players.team_id, > count(sports_players.team_id) FROM sports_players, > sports_mastercitylist > WHERE sports_players.city_id=sports_mastercitylist.id > AND sports_maste

Re: Django newbie: lost in custom managers

2007-04-24 Thread Bryan L. Fordham
[EMAIL PROTECTED] wrote: > Mr. Fordham, if you are ever within 500 miles of St. Petersburg > Florida, I owe you beer or dinner or my firstborn or something. That > tiny little change is all I needed. It works. Thank you so much for > your help. > I actually live w/in 500 miles (Savannah, Ga) bu

Re: Django newbie: lost in custom managers

2007-04-24 Thread [EMAIL PROTECTED]
Mr. Fordham, if you are ever within 500 miles of St. Petersburg Florida, I owe you beer or dinner or my firstborn or something. That tiny little change is all I needed. It works. Thank you so much for your help. Matt On Apr 24, 12:15 pm, "Bryan L. Fordham" <[EMAIL PROTECTED]> wrote: > [EMAIL PRO

Django newbie: lost in custom managers

2007-04-24 Thread [EMAIL PROTECTED]
Just when I was getting comfortable with simple views and templates, I've walked into a wall on my first attempt to do something more complicated. Any help anyone can give me will have my undying respect. Let's say my application is a site for youth sports. I have a table of cities, teams and pla