Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#8491 closed (fixed)

Allow settings.LOCALE_PATHS to be a list

Reported by: Joost Cassee Owned by: nobody
Component: Internationalization Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


If settings.LOCALE_PATHS is not a tuple compile_messages throws an exception. The attached patch coerces it into a tuple to fix the problem. (See also ticket #8214.)

Attachments (1)

8491-r8468.diff (642 bytes) - added by Joost Cassee 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Joost Cassee

Attachment: 8491-r8468.diff added

comment:1 Changed 8 years ago by Malcolm Tredinnick

milestone: 1.0
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 8 years ago by Joost Cassee

BTW, I almost added a diff to the docs to mention the change in the documentation but decided against it. Lists are never mentioned in the settings docs.

comment:3 Changed 8 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [8527]) Fixed #8491 -- Allow settings.LOCALE_PATH to be any sequence, not just a tuple.

comment:4 Changed 5 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

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