Django

Code

Ticket #5978 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

LOCALE_PATHS setting does not default to an empty tuple like the docs mention

Reported by: gwilson Assigned to: nobody
Milestone: Component: Translations
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

The documentation note was added in [6534], but there is no LOCALE_PATHS in django/conf/global_settings.py. If a default setting is added, a bit of code in a couple other places could be removed since it is making up for the fact that there might not be a default setting. Is this what we want to do Malcolm?

Attachments

5978.diff (2.3 kB) - added by gwilson on 11/18/07 22:48:27.

Change History

11/18/07 22:48:27 changed by gwilson

  • attachment 5978.diff added.

11/18/07 22:57:01 changed by gwilson

  • needs_better_patch changed.
  • has_patch set to 1.
  • stage changed from Unreviewed to Design decision needed.
  • needs_tests changed.
  • needs_docs changed.

11/18/07 23:01:30 changed by mtredinnick

  • stage changed from Design decision needed to Ready for checkin.

Sounds good. Go for it.

11/18/07 23:59:58 changed by gwilson

  • status changed from new to closed.
  • resolution set to fixed.

(In [6701]) Fixed #5978 -- Gave LOCALE_PATHS a default setting of an empty tuple and removed some code that was checking for its existance in settings before accessing it.


Add/Change #5978 (LOCALE_PATHS setting does not default to an empty tuple like the docs mention)




Change Properties
Action