jazzband / django-downloadview

Serve files with Django.
https://django-downloadview.readthedocs.io
Other
374 stars 57 forks source link

Not compatible with Django 1.10-style middleware #136

Closed fladi closed 4 years ago

fladi commented 7 years ago

Django 1.10 introduced the new MIDDLEWARE setting which makes some assumptions about the __init__ methdo of a middleware class. All middleware classes in django-downloadview depend on named arguments in their __init__ method that are populated with unexpeted values, like other middlewares or the Django core Basehandler.

Natim commented 4 years ago

I guess this was fixed with the support for Django 1.11+, feel free to open a new issue if it doesn't.