Opened 16 years ago

Closed 16 years ago

#5978 closed (fixed)

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

Reported by: Gary Wilson Owned by: nobody
Component: Translations Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 (1)

5978.diff (2.3 KB ) - added by Gary Wilson 16 years ago.

Download all attachments as: .zip

Change History (4)

by Gary Wilson, 16 years ago

Attachment: 5978.diff added

comment:1 by Gary Wilson, 16 years ago

Has patch: set
Triage Stage: UnreviewedDesign decision needed

comment:2 by Malcolm Tredinnick, 16 years ago

Triage Stage: Design decision neededReady for checkin

Sounds good. Go for it.

comment:3 by Gary Wilson, 16 years ago

Resolution: fixed
Status: newclosed

(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.

Note: See TracTickets for help on using tickets.
Back to Top