Сообщения от Xirael

При попытке поиска выдаёт ошибку
TypeError at /search/
'NoneType' object has no attribute '__getitem__'Request Method: POST
Request URL: http://stories.everypony.ru/search/
Django Version: 1.5
Exception Type: TypeError
Exception Value: 'NoneType' object has no attribute '__getitem__'
Exception Location: ./ponyFiction/views/search.py in search_action, line 91
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.3
Python Path: ['.',
'',
'/home/ep/www/stories/.virtualenvs/ponyFiction/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/home/ep/www/stories/.virtualenvs/ponyFiction/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg',
'/home/ep/www/stories/.virtualenvs/ponyFiction/src/django-cacheops',
'/home/ep/www/stories/.virtualenvs/ponyFiction/lib/python2.7',
'/home/ep/www/stories/.virtualenvs/ponyFiction/lib/python2.7/plat-linux2',
'/home/ep/www/stories/.virtualenvs/ponyFiction/lib/python2.7/lib-tk',
'/home/ep/www/stories/.virtualenvs/ponyFiction/lib/python2.7/lib-old',
'/home/ep/www/stories/.virtualenvs/ponyFiction/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/home/ep/www/stories/.virtualenvs/ponyFiction/local/lib/python2.7/site-packages']
Server time: Сбт, 31 Авг 2013 23:31:11 +0400,
там еще какой то программный код идет, и в конце пишет:
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
Понять не могу, что мне с этим делать. ;(
Xirael