我是 Django 的新手,我想在自己扩展之前先阅读一些教程。我正在尝试对此处描述的日历应用程序进行编程:http: //lightbird.net/dbe/cal1.html。但是,他们的 URLconfigs 似乎对我不起作用,因为我收到以下错误:
TypeError at /admin/
'str' object is not callable
Request Method: GET
Request URL: http://ec2-23-20-82-228.compute-1.amazonaws.com:8000/admin/
Django Version: 1.4
Exception Type: TypeError
Exception Value:
'str' object is not callable
Exception Location: /usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response, line 111
Python Executable: /usr/bin/python
Python Version: 2.7.3
如果有人能指出我正确的方向,将不胜感激!