﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29803	Django throws 500, when running development server and json request is missing trailing /	Paul Zeinlinger	nobody	"Discovered today after switching to python:3.7 base image from python:3.7-alpine. When sending an application/json request to a correct URL with a missing trailing slash, I get a 500 back.
Traceback: 
{{{ 
Traceback (most recent call last):
  File ""/usr/local/lib/python3.7/site-packages/django/contrib/staticfiles/handlers.py"", line 65, in __call__
    return self.application(environ, start_response)
  File ""/usr/local/lib/python3.7/site-packages/django/core/handlers/wsgi.py"", line 142, in __call__
    response = self.get_response(request)
  File ""/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py"", line 78, in get_response
    response = self._middleware_chain(request)
  File ""/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py"", line 36, in inner
    response = response_for_exception(request, exc)
  File ""/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py"", line 90, in response_for_exception
    response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
  File ""/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py"", line 125, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File ""/usr/local/lib/python3.7/site-packages/django_extensions/management/technical_response.py"", line 31, in null_technical_500_response
    elif tld.wsgi_tb:
AttributeError: '_thread._local' object has no attribute 'wsgi_tb'
}}}"	Bug	closed	Core (Management commands)	2.1	Normal	invalid			Unreviewed	0	0	0	0	0	0
