﻿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
30938	DEFAULT_CONTENT_TYPE django.utils.deprecation.RemovedInDjango30Warning.	אורי	nobody	"I'm upgrading Django from 1.11 to 2.2 in [https://github.com/speedy-net/speedy-net Speedy Net]. I noticed that if I run `make_migrations` with deprecation warnings (`./manage_all_sites_with_deprecation_warnings.sh make_migrations`), I receive the following error message (with Django 2.2):

`django.utils.deprecation.RemovedInDjango30Warning: The DEFAULT_CONTENT_TYPE setting is deprecated.`

Although I checked, and we don't use `DEFAULT_CONTENT_TYPE` anywhere in our project. It's only used in Django.

You can see [https://travis-ci.org/speedy-net/speedy-net/jobs/605598271 this job] for example (with Python 3.5). If you check the jobs for Python [https://travis-ci.org/speedy-net/speedy-net/jobs/605598272 3.6] and [https://travis-ci.org/speedy-net/speedy-net/jobs/605598273 3.7], there is another deprecation warning because of `distutils` which is used by Django. This is since Django version 2.0. In Django 1.11 there are no deprecation warnings with Python 3.5 and 3.6 (but there is [https://code.djangoproject.com/ticket/30078 one] with Python 3.7).
"	Bug	closed	HTTP handling	2.2	Normal	invalid			Unreviewed	0	0	0	0	0	0
