Opened 11 years ago

Closed 11 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: master
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


The documentation note was added in [6534], but there is no LOCALE_PATHS in django/conf/ 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 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Gary Wilson

Attachment: 5978.diff added

comment:1 Changed 11 years ago by Gary Wilson

Has patch: set
Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 11 years ago by Malcolm Tredinnick

Triage Stage: Design decision neededReady for checkin

Sounds good. Go for it.

comment:3 Changed 11 years ago by Gary Wilson

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