AttributeError at /admin/lunchbox/restaurants/

'NoneType' object has no attribute 'has_output'

Request Method: GET
Request URL: http://lazutkin.com/admin/lunchbox/restaurants/
Exception Type: AttributeError
Exception Value: 'NoneType' object has no attribute 'has_output'
Exception Location: /home/elazutkin/djsrc/django/contrib/admin/views/main.py in get_filters, line 75

Traceback (innermost last)

Request information

GET

No GET data

POST

No POST data

Variable Value
__utmz
'199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic'
__utmc
'199987251'
hotclub
'6e6822babf637fe3c6be306e8d4ce4bc'
mmsession1011
'7443543'
mmrepeat1011
'true'
__utma
'199987251.2075077473.1132192348.1132948788.1132956530.51'
__utmb
'199987251'
mmtmpsess1011
'true'

META

Variable Value
DOCUMENT_ROOT
'/home/elazutkin/lazutkin.com'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip'
HTTP_ACCEPT_LANGUAGE
'en-us,en;q=0.5'
HTTP_COOKIE
'hotclub=6e6822babf637fe3c6be306e8d4ce4bc; mmsession1011=7443543; mmrepeat1011=true; __utma=199987251.2075077473.1132192348.1132948788.1132956530.51; __utmz=199987251.1132799165.42.4.utmccn=(organic)|utmcsr=google|utmctr=http://lazutkin.com/blog/|utmcmd=organic; __utmc=199987251; mmtmpsess1011=true; __utmb=199987251'
HTTP_HOST
'lazutkin.com'
HTTP_REFERER
'http://lazutkin.com/admin/'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5'
HTTP_X_FORWARDED_FOR
'24.1.30.243'
PATH
'/bin:/usr/bin:/sbin:/usr/sbin'
PATH_INFO
'/admin/lunchbox/restaurants/'
PATH_TRANSLATED
'/home/elazutkin/lazutkin.com/admin/lunchbox/restaurants/'
QUERY_STRING
''
REDIRECT_SCRIPT_URI
'http://lazutkin.com/admin/lunchbox/restaurants/'
REDIRECT_SCRIPT_URL
'/admin/lunchbox/restaurants/'
REDIRECT_STATUS
'200'
REDIRECT_URL
'/admin/lunchbox/restaurants/'
REMOTE_ADDR
'64.233.173.73'
REMOTE_PORT
'46399'
REQUEST_METHOD
'GET'
REQUEST_URI
'/admin/lunchbox/restaurants/'
SCRIPT_FILENAME
'/home/elazutkin/lazutkin.com/django.fcgi'
SCRIPT_NAME
'/django.fcgi'
SCRIPT_URI
'http://lazutkin.com/admin/lunchbox/restaurants/'
SCRIPT_URL
'/admin/lunchbox/restaurants/'
SERVER_ADDR
'64.111.108.128'
SERVER_ADMIN
'webmaster@lazutkin.com'
SERVER_NAME
'lazutkin.com'
SERVER_PORT
'80'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
''
SERVER_SOFTWARE
'Apache/1.3.33 (Unix) DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10 mod_ssl/2.8.22 OpenSSL/0.9.7e'
wsgi.errors
<fcgi.OutputStream object at 0x4063f52c>
wsgi.input
<fcgi.InputStream object at 0x4063f7ec>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)

Settings

Using settings module home.settings

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Eugene Lazutkin', 'eugene@lazutkin.com'),)
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/media/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
BANNED_IPS
()
CACHE_BACKEND
'file:///tmp/django.cache/lazutkin.com/'
CACHE_MIDDLEWARE_KEY_PREFIX
''
CACHE_MIDDLEWARE_SECONDS
900
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
DATABASE_ENGINE
'mysql'
DATABASE_HOST
'innodb.lazutkin.com'
DATABASE_NAME
'lazutkin'
DATABASE_PASSWORD
'********************'
DATABASE_PORT
''
DATABASE_USER
'dblazutkin'
DATETIME_FORMAT
'N j, Y, P'
DATE_FORMAT
'N j, Y'
DEBUG
True
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DISALLOWED_USER_AGENTS
()
EMAIL_HOST
'localhost'
EMAIL_SUBJECT_PREFIX
'[Django] '
ENVIRONMENT_VARIABLE
'DJANGO_SETTINGS_MODULE'
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
['home.apps.portal', 'home.apps.blog', 'home.apps.lunchbox', 'django.contrib.admin', 'django.contrib.flatpages', 'django.contrib.redirects']
INTERNAL_IPS
()
JING_PATH
'/usr/bin/jing'
LANGUAGES
(('bn', 'Bengali'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('en', 'English'), ('es', 'Spanish'), ('fr', 'French'), ('gl', 'Galician'), ('is', 'Icelandic'), ('it', 'Italian'), ('no', 'Norwegian'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('zh-cn', 'Simplified Chinese'))
LANGUAGE_CODE
'en-us'
MANAGERS
(('Eugene Lazutkin', 'eugene@lazutkin.com'),)
MEDIA_ROOT
'/home/elazutkin/webuploads/'
MEDIA_URL
'http://lazutkin.com/upload/'
MIDDLEWARE_CLASSES
('django.middleware.cache.CacheMiddleware', 'django.middleware.sessions.SessionMiddleware', 'django.middleware.http.ConditionalGetMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware')
PREPEND_WWW
False
ROOT_URLCONF
'home.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'hotclub'
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'home.settings'
SITE_ID
1
TEMPLATE_DEBUG
False
TEMPLATE_DIRS
('/home/elazutkin/djp/home/templates/',)
TEMPLATE_FILE_EXTENSION
'.html'
TEMPLATE_LOADERS
('django.core.template.loaders.filesystem.load_template_source', 'django.core.template.loaders.app_directories.load_template_source')
TIME_FORMAT
'P'
TIME_ZONE
'America/Chicago'
USE_ETAGS
False

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.