I visit admin site, but there's an error:
==========================================
TemplateSyntaxError at /admin/
Caught TypeError while rendering: 'NoneType' object is
unsubscriptableRequest Method: GET
Request URL:
http://127.0.0.1:8000/zh-CN/admin/
Django Version: 1.3 pre-alpha
Exception Type: TemplateSyntaxError
Exception Value: Caught TypeError while rendering: 'NoneType' object
is unsubscriptable
Exception Location: H:\Web\Code\project\myproject_source\miniproject
\myproject2_add\localeurl\utils.py in supported_language, line 36
Python Executable: C:\Python25\python.exe
Python Version: 2.5.2
Python Path: ['H:\\Web\\Code\\project\\myproject_source\\miniproject\
\myproject2_add', 'C:\\Python25\\lib\\site-packages\\setuptools-0.6c11-
py2.5.egg', 'C:\\Python25\\lib\\site-packages\\askbot-0.6.6-
py2.5.egg', 'C:\\windows\\system32\\python25.zip', 'C:\\Python25\
\DLLs', 'C:\\Python25\\lib', 'C:\\Python25\\lib\\plat-win', 'C:\
\Python25\\lib\\lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\\site-
packages', 'C:\\Python25\\lib\\site-packages\\PIL']
Server time: 星期日, 8 八月 2010 23:08:08 +0800
Template error
In template c:\python25\lib\site-packages\django\contrib\admin
\templates\admin\base.html, error at line 31
Caught TypeError while rendering: 'NoneType' object is unsubscriptable
the error place is:
{% url django-admindocs-docroot as docsroot %}
==========================================
How to solve this problem?
Thanks.