Open GoogleCodeExporter opened 9 years ago
traceback on the bug:
Environment:
Request Method: GET
Request URL: http://localhost:8000/admin/obj_lookup/
Django Version: 1.0-beta_2-SVN-8715
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'simpleweb.polls',
'simpleweb.pages',
'simpleweb.SitesEx',
'simpleweb.inherit',
'simpleweb.genericadmin']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware')
Traceback:
File "/usr/lib/python2.5/django/core/handlers/base.py" in get_response
86. response = callback(request, *callback_args, **callback_kwargs)
File "/home/isotop/simpleweb/genericadmin/views.py" in generic_lookup
33. if request.has_key('content_type') and request.has_key('object_id'):
Exception Type: AttributeError at /admin/obj_lookup/
Exception Value: 'WSGIRequest' object has no attribute 'has_key'
Original comment by iso...@gmail.com
on 30 Aug 2008 at 12:02
Original issue reported on code.google.com by
iso...@gmail.com
on 29 Aug 2008 at 11:59Attachments: