|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The following code from Tutorial 3 produces a type error ('str' object is not callable).
from django.conf.urls import patterns, include, url
from django.contrib import admin
urlpatterns = patterns(,
This happens even when the code is copied and pasted (everything worked fine prior to that change. The error code seems to specifically point at "include('poll.urls')." Have tried a couple of different things, including ditching the apostrophe's. The problem appears to stem from the something within Django itself
C:\Python27\lib\site-packages\django\core\handlers\base.py in get_response, line 111
is specifically where the error is being generated from.