Dmitri-Sintsov / django-jinja-knockout

Django datatables and widgets, both AJAX and traditional. Display-only ModelForms. ModelForms / inline formsets with AJAX submit and validation. Works with Django templates.
https://django-jinja-knockout.readthedocs.org/
Other
144 stars 29 forks source link

Fix startup issues on Py3.5/Dj1.10 #2

Closed melvyn-sopacua closed 7 years ago

melvyn-sopacua commented 7 years ago

For the first issue the traceback was this on uwsgi startup:

File ".../site-packages/django/core/wsgi.py", line 14, in get_wsgi_application return WSGIHandler() File ".../site-packages/django/core/handlers/wsgi.py", line 153, in init self.load_middleware() File ".../site-packages/django/core/handlers/base.py", line 82, in load_middleware mw_instance = middleware(handler) TypeError: init() takes 1 positional argument but 2 were given

[1] https://github.com/django/django/commit/9baf692 [2] https://github.com/mozilla/bleach/commit/567eebb5