colelloa / django-pagination

Automatically exported from code.google.com/p/django-pagination
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

TypeError raised - neeeds to be incorporated into Except List #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start application (pinax in this case) with python manage.py runserver ...
2. point your browser to address 

What is the expected output? What do you see instead?
Expected: webpage
Instead:  raw Errormessage - not handled by Django telling
TypeError: 'WSGIRequest' object is unsubscriptable

What version of the product are you using? On what operating system?
Trunk Pinax

Please provide any additional information below.
Extending middleware.py with TypeError

line 9     except (KeyError, ValueError, TypeError):

fixed the problem

rgds
g 

Original issue reported on code.google.com by guenter....@wanagu.at on 3 Aug 2008 at 9:25

GoogleCodeExporter commented 8 years ago

Original comment by flo...@gmail.com on 30 Aug 2008 at 6:11