Skip to content

Resolve the ajax_grid_list bug #177

Closed
pydanny opened this Issue Oct 3, 2012 · 0 comments

1 participant

@pydanny
Owner
pydanny commented Oct 3, 2012
Traceback (most recent call last):

File "/app/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
  response = callback(request, *callback_args, **callback_kwargs)
File "/app/grid/views.py", line 337, in ajax_grid_list
  grids = grids.exclude(gridpackage__package__id=package_id)
AttributeError: ‘list’ object has no attribute ‘exclude’

<WSGIRequest path:/grids/ajax_grid_list/, GET:<QueryDict: {u'q': [u''], u'package_id': [u'1493']}>, POST:<QueryDict: {}>, COOKIES:{'__utma': ‘89550670.1285666284.1297203410.1297203410.1297203410.1’,

'csrftoken': '60EuRicp60f4IAfj5IhddyY1PnbbxDTv',
'sessionid': '9f519beda82122b45d4299f95616ae50'},
META:{'CSRF_COOKIE': ‘60EuRicp60f4IAfj5IhddyY1PnbbxDTv’,

'HTTP_ACCEPT': '*/*',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
'HTTP_ACCEPT_LANGUAGE': 'es-ES,es;q=0.8,en-US;q=0.6',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': '__utma=89550670.1285666284.1297203410.1297203410.1297203410.1; sessionid=9f519beda82122b45d4299f95616ae50; csrftoken=60EuRicp60f4IAfj5IhddyY1PnbbxDTv',
'HTTP_HOST': 'www.djangopackages.com',
'HTTP_REFERER': 'http://www.djangopackages.com/packages/p/cerberos/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Ubuntu/12.04 Chromium/20.0.1132.47 Chrome/20.0.1132.47 Safari/536.11',
'HTTP_X_FORWARDED_FOR': '95.18.83.110',
'HTTP_X_FORWARDED_PORT': '80',
'HTTP_X_FORWARDED_PROTO': 'http',
'HTTP_X_HEROKU_DYNOS_IN_USE': '1',
'HTTP_X_HEROKU_QUEUE_DEPTH': '0',
'HTTP_X_HEROKU_QUEUE_WAIT_TIME': '17',
'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
'HTTP_X_REQUEST_START': '1349272128849',
'PATH_INFO': u'/grids/ajax_grid_list/',
'QUERY_STRING': 'q=&package_id=1493',
'RAW_URI': '/grids/ajax_grid_list/?q=&package_id=1493',
'REMOTE_ADDR': '95.18.83.110',
'REMOTE_PORT': '80',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'www.djangopackages.com',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'gunicorn/0.14.2',
'gunicorn.socket': <socket._socketobject object at 0x3718ec0>,
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7fc5d89b8270>,
'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x2b37460>,
'wsgi.input': <gunicorn.http.body.Body object at 0x3097a90>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>```
@pydanny pydanny closed this in 8c3b564 Oct 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.