[Django] #27829: Deprecate DEFAULT_CONTENT_TYPE

11 views
Skip to first unread message

Django

unread,
Feb 12, 2017, 6:12:54 PM2/12/17
to django-...@googlegroups.com
#27829: Deprecate DEFAULT_CONTENT_TYPE
------------------------------------------------+------------------------
Reporter: Adam Chainz | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: HTTP handling | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
After a
[https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg
/django-developers/EdwwxxqcKVU/oRcz4bbUAgAJ mailing list discussion] there
was consensus that the {{{DEFAULT_CONTENT_TYPE}}} setting is no longer
useful since HTML5 has overtaken XHTML and that it could be deprecated.

For reference, the setting has lead to a number of bug reports such as the
one that kicked off the discussion, #23908, and others such as #24598,
#20822, #11683, #5704, etc.

--
Ticket URL: <https://code.djangoproject.com/ticket/27829>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 13, 2017, 7:28:10 AM2/13/17
to django-...@googlegroups.com
#27829: Deprecate DEFAULT_CONTENT_TYPE setting
--------------------------------------+------------------------------------

Reporter: Adam Chainz | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: HTTP handling | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/27829#comment:1>

Django

unread,
Feb 13, 2017, 7:32:01 PM2/13/17
to django-...@googlegroups.com
#27829: Deprecate DEFAULT_CONTENT_TYPE setting
--------------------------------------+------------------------------------
Reporter: Adam Chainz | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: HTTP handling | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/8059 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/27829#comment:2>

Django

unread,
Feb 16, 2017, 7:59:53 AM2/16/17
to django-...@googlegroups.com
#27829: Deprecate DEFAULT_CONTENT_TYPE setting
--------------------------------------+------------------------------------
Reporter: Adam Chainz | Owner: nobody
Type: Cleanup/optimization | Status: closed

Component: HTTP handling | Version: 1.11
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by GitHub <noreply@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"80493b087136a151bf4d11ba394f36e047159040" 80493b08]:
{{{
#!CommitTicketReference repository=""
revision="80493b087136a151bf4d11ba394f36e047159040"
Fixed #27829 -- Deprecated settings.DEFAULT_CONTENT_TYPE.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27829#comment:3>

Django

unread,
Oct 15, 2018, 4:49:47 PM10/15/18
to django-...@googlegroups.com
#27829: Deprecate DEFAULT_CONTENT_TYPE setting
-------------------------------------+-------------------------------------
Reporter: Adam (Chainz) | Owner: nobody
Johnson |
Type: | Status: closed
Cleanup/optimization |

Component: HTTP handling | Version: 1.11
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"99d4fc18bdb8110147165531d348be53529eece5" 99d4fc18]:
{{{
#!CommitTicketReference repository=""
revision="99d4fc18bdb8110147165531d348be53529eece5"
Refs #27829 -- Added warning for settings.DEFAULT_CONTENT_TYPE usage
outside of Django.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27829#comment:4>

Django

unread,
Jan 17, 2019, 12:31:19 PM1/17/19
to django-...@googlegroups.com
#27829: Deprecate DEFAULT_CONTENT_TYPE setting
-------------------------------------+-------------------------------------
Reporter: Adam (Chainz) | Owner: nobody
Johnson |
Type: | Status: closed
Cleanup/optimization |
Component: HTTP handling | Version: 1.11
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"8045dff98c2533e7e99ce82f80292fc6f3bb7e1f" 8045dff]:
{{{
#!CommitTicketReference repository=""
revision="8045dff98c2533e7e99ce82f80292fc6f3bb7e1f"
Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation
timeline.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27829#comment:5>

Reply all
Reply to author
Forward
0 new messages