On Sep 25, 2006, at 5:48 PM, brad wrote:
>
> 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')


What does the rest of your urls.py file look like? I would look for a  
Python syntax error on line 9, perhaps a missing comma.

When debugging, don't always accept what the error message says. Just  
like a wreck on the freeway, you may have to follow the skid marks  
and broken glass backward to find the real cause. Line 10 is where  
the Python interpreter realized there was a problem, not necessarily  
where the problem occurred.

Don



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to