[Django] #32873: Remove USE_L10N setting

17 views
Skip to first unread message

Django

unread,
Jun 22, 2021, 5:49:02 AM6/22/21
to django-...@googlegroups.com
#32873: Remove USE_L10N setting
-------------------------------------+-------------------------------------
Reporter: Carlton | Owner: Claude Paroz
Gibson |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: dev
Internationalization |
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 1 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
There's a proposal from Claude to remove the USE_L10N setting.

* [https://github.com/django/django/pull/14519 PR]
* [https://groups.google.com/g/django-developers/c/FJU3c9vtgnU Mailing
list discussion]

> My motivations are:
> - one less setting
> - simplication of the code and logic regarding USE_18N/USE_L10N/USE_TZ
> settings
> - a user-friendly default behavior

Accepting on the basis of the discussion there.

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

Django

unread,
Sep 4, 2021, 4:35:13 AM9/4/21
to django-...@googlegroups.com
#32873: Remove USE_L10N setting
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned
Component: | Version: dev
Internationalization |
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 Claude Paroz):

* needs_better_patch: 1 => 0


Comment:

Should be ready for review.

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

Django

unread,
Sep 8, 2021, 2:37:44 AM9/8/21
to django-...@googlegroups.com
#32873: Remove USE_L10N setting
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned
Component: | Version: dev
Internationalization |
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
-------------------------------------+-------------------------------------

Comment (by GitHub <noreply@…>):

In [changeset:"4a43335d300da942602fbf216cd0a53b60827ab4" 4a43335d]:
{{{
#!CommitTicketReference repository=""
revision="4a43335d300da942602fbf216cd0a53b60827ab4"
Fixed #30086, Refs #32873 -- Made floatformat template filter independent
of USE_L10N.
}}}

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

Django

unread,
Sep 13, 2021, 1:19:28 AM9/13/21
to django-...@googlegroups.com
#32873: Deprecate USE_L10N setting.

-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned
Component: | Version: dev
Internationalization |
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
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak):

Claude's [https://github.com/django/django/pull/14519 PR] should be used
when `USE_L10N` will be removed in Django 5.0.

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

Django

unread,
Sep 13, 2021, 2:39:20 AM9/13/21
to django-...@googlegroups.com
#32873: Deprecate USE_L10N setting.
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned
Component: | Version: dev
Internationalization |
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
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak):

[https://github.com/django/django/pull/14846 New PR]

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

Django

unread,
Sep 14, 2021, 6:08:05 AM9/14/21
to django-...@googlegroups.com
#32873: Deprecate USE_L10N setting.
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned
Component: | Version: dev
Internationalization |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Accepted => Ready for checkin


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

Django

unread,
Sep 14, 2021, 7:08:53 AM9/14/21
to django-...@googlegroups.com
#32873: Deprecate USE_L10N setting.
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: closed
Component: | Version: dev
Internationalization |
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

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


Comment:

In [changeset:"676bd084f2509f4201561d5c77ed4ecbd157bfa0" 676bd08]:
{{{
#!CommitTicketReference repository=""
revision="676bd084f2509f4201561d5c77ed4ecbd157bfa0"
Fixed #32873 -- Deprecated settings.USE_L10N.

Co-authored-by: Mariusz Felisiak <felisiak...@gmail.com>
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/32873#comment:6>

Django

unread,
Sep 14, 2021, 12:15:00 PM9/14/21
to django-...@googlegroups.com
#32873: Deprecate USE_L10N setting.
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: closed
Component: | Version: dev
Internationalization |

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Claude Paroz):

Mariusz, I still rebased my original patch, as it may be of some help at
the time of the deprecation removal. I know code might move a lot until
then, but still in the case it might be useful, I'm keeping that branch on
my fork: https://github.com/claudep/django/tree/remove_use_l10n

--
Ticket URL: <https://code.djangoproject.com/ticket/32873#comment:7>

Django

unread,
Sep 14, 2021, 12:29:22 PM9/14/21
to django-...@googlegroups.com
#32873: Deprecate USE_L10N setting.
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: closed
Component: | Version: dev
Internationalization |

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak):

Replying to [comment:7 Claude Paroz]:


> Mariusz, I still rebased my original patch, as it may be of some help at
the time of the deprecation removal. I know code might move a lot until
then, but still in the case it might be useful, I'm keeping that branch on
my fork: https://github.com/claudep/django/tree/remove_use_l10n

Many thanks!

--
Ticket URL: <https://code.djangoproject.com/ticket/32873#comment:8>

Django

unread,
Nov 23, 2022, 7:42:47 AM11/23/22
to django-...@googlegroups.com
#32873: Deprecate USE_L10N setting.
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: closed
Component: | Version: dev
Internationalization |

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton.gibson@…>):

In [changeset:"9582f2f9d173935fef35c8c27b0f80258b1fb106" 9582f2f9]:
{{{
#!CommitTicketReference repository=""
revision="9582f2f9d173935fef35c8c27b0f80258b1fb106"
Refs #32873 -- Adjusted formatting note on USE_L10N default.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/32873#comment:10>

Django

unread,
Nov 23, 2022, 7:43:48 AM11/23/22
to django-...@googlegroups.com
#32873: Deprecate USE_L10N setting.
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: closed
Component: | Version: dev
Internationalization |

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton.gibson@…>):

In [changeset:"3a46d5ec7971727bc54b9ecbab4f5b6885409557" 3a46d5ec]:
{{{
#!CommitTicketReference repository=""
revision="3a46d5ec7971727bc54b9ecbab4f5b6885409557"
[4.1.x] Refs #32873 -- Adjusted formatting note on USE_L10N default.

Backport of 9582f2f9d173935fef35c8c27b0f80258b1fb106 from main
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/32873#comment:11>

Django

unread,
Jan 17, 2023, 5:49:43 AM1/17/23
to django-...@googlegroups.com
#32873: Deprecate USE_L10N setting.
-------------------------------------+-------------------------------------
Reporter: Carlton Gibson | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: closed
Component: | Version: dev
Internationalization |

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"8d98f99a4ab5de6f2c730399f53eba8bf6bea470" 8d98f99a]:
{{{
#!CommitTicketReference repository=""
revision="8d98f99a4ab5de6f2c730399f53eba8bf6bea470"
Refs #32873 -- Removed settings.USE_L10N per deprecation timeline.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/32873#comment:12>

Reply all
Reply to author
Forward
0 new messages