Re: Template For Loops

2006-09-25 Thread Malcolm Tredinnick
On Mon, 2006-09-25 at 17:25 -0700, brad wrote: > Now I am getting an error of: > > Exception Type: TypeError > Exception Value: 'tuple' object is not callable > Exception Location: E:\dp1\mysite\..\mysite\urls.py in ?, line 10 > > And line ten of 'urls.py' is the following: > > (r'

Re: Template For Loops

2006-09-25 Thread brad
Now I am getting an error of: Exception Type: TypeError Exception Value:'tuple' object is not callable Exception Location: E:\dp1\mysite\..\mysite\urls.py in ?, line 10 And line ten of 'urls.py' is the following: (r'^select/$', 'mysite.polls.views.select') --~--~-~

Re: Template For Loops

2006-09-25 Thread Alan Green
On 9/26/06, brad <[EMAIL PROTECTED]> wrote: > > Hello. I am having a little trouble retreiving data from my models so > that I can use the data in my templates to create a html select. The > template creates the html select, but the select is not populated with > any options, like I want it to. Th

Re: Template For Loops

2006-09-25 Thread Rob Hudson
In your view are you passing game_name into the template context? For more info: http://www.djangoproject.com/documentation/templates_python/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To