Django datatables and widgets, both AJAX and traditional. Display-only ModelForms. ModelForms / inline formsets with AJAX submit and validation. Works with Django templates.
Django's new middleware API calls middlewares with an extra argument,
as per [1]. Use the same approach to provide forward compatibility.
Html5lib per version 0.9999999 has reworked the sanitizer API. Bleach
will follow, but until then, we must use a lower version [2]
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
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