Hi, has anyone noticed that the example in chapter seven doesn't work
with Django SVN revision 7103 (latest)? 
http://www.djangobook.com/en/1.0/chapter07/

TypeError at /contact/
'str' object is not callable
Request Method:         GET
Request URL:    http://sol.localnet:8000/contact/
Exception Type:         TypeError
Exception Value:        'str' object is not callable
Exception Location:     /usr/local/lib/python2.5/site-packages/django/
core/handlers/base.py in get_response, line 82
Python Executable:      /usr/local/bin/python
Python Version:         2.5.1
Python Path:    ['/usr/home/rihad/dj/mysite', '/usr/local/lib/
python25.zip', '/usr/local/lib/python2.5', '/usr/local/lib/python2.5/
plat-freebsd6', '/usr/local/lib/python2.5/lib-tk', '/usr/local/lib/
python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/
usr/local/lib/python2.5/site-packages/PIL', '/usr/local/lib/python2.5/
site-packages']

Environment:

Request Method: GET
Request URL: http://sol.localnet:8000/contact/
Django Version: 0.97-pre-SVN-7103
Python Version: 2.5.1
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'mysite.books',
 'django.contrib.admin']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware')


Traceback:
File "/usr/local/lib/python2.5/site-packages/django/core/handlers/
base.py" in get_response
  82.                 response = callback(request, *callback_args,
**callback_kwargs)

Exception Type: TypeError at /contact/
Exception Value: 'str' object is not callable

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to